日期:2014-05-16  浏览次数:20597 次

ssh连接一直超时
C/C++ code

[root@hqserv lizhenming]# ssh -v root@172.*.*.*
OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 172.*.*.* [172.*.*.*] port 22.
debug1: connect to address 172.*.*.* port 22: Connection timed out
ssh: connect to host 172.*.*.* port 22: Connection timed out
[root@hqserv lizhenming]# 
[root@hqserv lizhenming]# service iptables status
防火墙已停



ip和端口都是对的,为什么连不上啊?

------解决方案--------------------
呵呵,putty这个工具说实话确实没有SecureCRT好用啊,shell下面直接ssh登录远程都比putty方便省事。