连xshell之前先进入[root@localhost zxj]# vim /etc/ssh/sshd_config,

连接Xshell

将115行删除注释改为UseDNS  no,

连接Xshell

保存重启sshd(xshell)的配置文件【[root@localhost zxj]# systemctl restart sshd】,xshell是就可快速连接。

相关文章: