系统是CentOS5.3
装了ssh服务,却连接不上,请高手指导呀
1)可以ping通
[mrh@nfs-server ~]$ ping ascendtech.3322.org
PING ascendtech.3322.org (218.108.223.113) 56(84) bytes of data.
64 bytes from 218.108.223.113: icmp_seq=1 ttl=64 time=0.895 ms
64 bytes from 218.108.223.113: icmp_seq=2 ttl=64 time=0.860 ms
--- ascendtech.3322.org ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.860/0.877/0.895/0.034 ms
[mrh@nfs-server ~]$
2)在win下在面,用putty可以用ssh连接成功
3)ssh连接失败
[mrh@nfs-server ~]$ ssh ascend@ascendtech.3322.org
Bad remote protocol version identification: 'SSH-2.0-
'
4)所安装的ssh版本如下
[mrh@nfs-server ~]$ ssh -v
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
usage: ssh [-1246AaCfgkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-e escape_char] [-F configfile]
[-i identity_file] [-L [bind_address:]port:host:hostport]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-R [bind_address:]port:host:hostport] [-S ctl_path]
[-w tunnel:tunnel] [user@]hostname [command]
[mrh@nfs-server ~]$
qrpengx 于 2010-01-14 10:25:17发表:
用putty可以 ?很诡异啊。
wuhua0904 于 2010-01-13 17:19:42发表:
firewall已经关闭,结果还是一样.
.ssh/known_hosts 下没有key文件
还是没解决呀
pipizi 于 2010-01-11 17:30:35发表:
在你的firewall 开启ssh .
rml204 于 2010-01-11 16:11:12发表:
你试着把ascend家目录下的.ssh/known_hosts 下的key删掉再得新连接试试
eku123 于 2010-01-11 15:34:31发表:
putty可以联,看看putty的用户名是什么,端口号是多少,是连接ip地址还是域名
ssh -l 用户名 -p 端口号 ip地址或域名
wuhua0904 于 2010-01-11 13:42:25发表:
没人帮忙吗