系统相关
首页 > 系统相关> > xshell 连接报错 Disconnected from remote host

xshell 连接报错 Disconnected from remote host

作者:互联网

Type `help' to learn how to use Xshell prompt.

[c:\~]$

Connecting to 20.0.0.91:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.

Last login: Fri Nov 1 12:36:08 2019 from 10.0.1.25

Connection closed by foreign host.

Disconnected from remote host(20.0.0.91) at 12:38:43.

Type `help' to learn how to use Xshell prompt.

 

操作:

 

vim /etc/ssh/sshd_config

#UseDNS yes
改为
UseDNS no

重启sshd
service sshd restart

 

标签:sshd,remote,Disconnected,UseDNS,host,报错,prompt,Type,help
来源: https://www.cnblogs.com/xuchunlin/p/11776326.html