现在的位置: 首页 > 综合 > 正文

linux 下登录,推出telnet

2018年05月01日 ⁄ 综合 ⁄ 共 760字 ⁄ 字号 评论关闭

telnet 命令用来远程连接 某个ip 的某个端口  

1) telnet 210.14.140.82 2181 回车  --连接ip为210.14.140.82
端口为2181的服务, 可用来测试2181端口是不是已开通

Trying 210.14.140.82...
Connected to 210.14.140.82.
Escape character is '^]'.

2)ctrl
+ ] 回车    --回到telnet命令

telnet>  

3)? 回车            --给出提示命令

close   	close current connection
logout  	forcibly logout remote user and close the connection
display 	display operating parameters
mode    	try to enter line or character mode ('mode ?' for more)
open    	connect to a site
quit    	exit telnet
send    	transmit special characters ('send ?' for more)
set     	set operating parameters ('set ?' for more)
unset   	unset operating parameters ('unset ?' for more)
status  	print status information
toggle  	toggle operating parameters ('toggle ?' for more)
slc     	set treatment of special characters
z       	suspend telnet
environ 	change environment variables ('environ ?' for more)

4)
quit 回车    ---退出telnet 链接

Connection
closed.


抱歉!评论已关闭.