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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM