Similar to ssh
, the telnet
command can also log in to the remote host. It also requires the remote host to open the corresponding service. The default port used is 23.
Syntax format: telnet [parameter]
Common parameters:
Example
# 登录远程主机telnet 192.168.1.100 # 也可以用来测试远程主机相应端口是否开启telnet 192.168.1.100 8080
This article is reprinted from https://xugaoxiang.com/2022/06/06/linux-cmds-24-telnet/
This site is for inclusion only, and the copyright belongs to the original author.