ssh连不上linux主机,提示“The host xxxx is unreachable”解决方法

按如下步骤在服务器端进行排查:服务器 1. 用“service iptables stop”关闭防火墙。 2. 用“service sshd status”查看ssh服务是否已启动。 3. /etc/ssh/sshd_config里看看有没有明确禁止一个帐户,或明确容许你要远程的帐户。ssh DenyUsers root AllowUsers puserip 4. netstat -tupln|g
相关文章
相关标签/搜索