我是新手ssh 客户端登陆服务器登陆不上,总是提示 the host'192...'is unreachable .the host may be down, or there may be aproblem with the network connection.
sometimes problems can also be caused by amisconfigured firwall.
而且,我在服务器上用 sudo iptables -l -v 或iptables list;
提示错误
service sshd status 是运行的;防火墙是关闭的
keith_dcc 于 2009-10-27 10:51:52发表:
network里面没有配置?
jwei0791 于 2009-10-27 10:45:02发表:
可能是限制了远程登录了。
hstking 于 2009-10-26 22:13:02发表:
如果某个服务出现问题,一般我的解决思路就是:
首先,ping IP,看网络连接是否通畅。
然后,nc或者nmap ,看这个服务是否已经开启。(如果是ssh,就看22端口打开没)
第三,iptables,查看防火墙设置是否有问题。
第四,看/etc/deny or /etc/access是否限制了ip。
最后,就是一些服务特有的原因了。比如ssh的什么公钥私钥什么的了。
bobo504 于 2009-10-26 18:26:56发表:
你把网络配置写出来
服务器和客户端的
它提示192.168...is unreachable,网络不可达,问题有可能出在网络配置上