Connecting to 172.16.0.11:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
Last login: Wed May 2 22:38:38 2018 from vrouter
如上:
解决办法
vi /etc/ssh/sshd_config
将#UseDNS yes改为
UseDNS no
重启sshd服务
service sshd restart
如:
[fablen@client ~]$ su
Password:
[root@client fablen]# vi /etc/ssh/sshd_config
[root@client fablen]# service sshd restart
Restarting sshd (via systemctl): [ OK ]
[root@client fablen]#