红联Linux门户
Linux帮助

求助xp使用putty无法连接上vm的centos

发布时间:2010-11-21 21:02:43来源:红联作者:ay暗影
[i=s] 本帖最后由 ay暗影 于 2010-11-21 21:04 编辑 [/i]

centos装了openssh服务,并且已经开启,端口为默认22端口
主机xp和vm的centos能互相ping通,但是xp上使用putty无法连上ssh。
尝试telnet 22 端口,连接成功
根据网上资料,iptables停用,/etc/hosts.allow 设置成 ALL:ALL 和 /etc/hosts.deny 为空
设置/etc/ssh/sshd_config
将#PasswordAuthentication no的注释去掉,并且将NO修改为YES
将#PermitRootLogin yes的注释去掉

问题依旧。。。

尝试在centos的终端下 ssh 192.168.0.109 能连接上

以下是putty的截图,一直是这个样子,等了很久,也没提示超时啥的。。。

[attach]32845[/attach]
文章评论

共有 1 条评论

  1. ay暗影 于 2010-11-22 22:21:35发表:

    唉,怎么没有人解答呢?{:2_94:}