问题:SSH远程连接时报错
Socket error Event: 32 Error: 10053.
Connection closing...Socket close.
Connection closed by foreign host.
Disconnected from remote host(192.9.200.90-api) at 16:59:53.
解决:将ssh配置文件中的“UseDNS yes”去掉注释并改成no即可。
[root@localhost ]# vim /etc/ssh/sshd_config
...
#ClientAliveInterval 0
#ClientAliveCountMax 3
#ShowPatchLevel no
UseDNS no
#PidFile /var/run/sshd.pid
#MaxStartups 10:30:100
#PermitTunnel no
#ChrootDirectory none
...
重新启动sshd服务
[root@localhost ]# /etc/init.d/sshd restart