歡迎您光臨本站 註冊首頁

請教xp下不能ssh/telnet vm下的rehl5,但rehl5能自己ssh/telnet自己

描述:
1、vm為7.0.0 build-203739     rehl5.0
2、之前vm使用NAT方式,能夠通過xp下的putty ssh上 vm里的rehl5
3、昨天因為工作需要,把vm設為bridge,並通過setup設置了rehl5的ip為靜態
4、xp的ip為192.168.1.197 rehl5的ip為192.168.1.198,兩者能夠互相ping通
5、確認能夠在rhel5里自己ssh/telnet自己,同時能夠在同一辦公室的其他pc ssh/telnet到197的rhel5
6、通過netstat,確認有偵聽22、23埠
7、通過iptable、setup等確認防火牆已經關掉

問題:
1、不能在本地xp下,通過putty、SecureCRT ssh/telnet到rhel5.
2、嘗試連接時,在rhel5下看到如下信息:

# netstat -tunp
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
tcp        0      0 192.168.1.198:23            192.168.1.197:4327          SYN_RECV    -                  


請各位大俠不吝指教~~~~~~
《解決方案》

自己頂起來~~~~
《解決方案》

是否你xp自己的防火牆問題?
《解決方案》

自己的防火牆也關了,都不行啊
《解決方案》

本帖最後由 vermouth 於 2010-04-12 11:26 編輯

telnet 192.168.1.198 22 試試~
看看日誌。
《解決方案》

根據vermouth的提示,我翻查了一下日誌:

/var/log/messages:
...
2689 Apr  9 12:29:06 localhost xinetd: START: telnet pid=6596 from=192.168.1.197
2690 Apr  9 12:29:06 localhost telnetd: ttloop:  peer died: Invalid or incomplete multibyte or wide character
2691 Apr  9 12:29:06 localhost xinetd: EXIT: telnet status=1 pid=6596 duration=0(sec)
2692 Apr  9 12:38:54 localhost xinetd: START: telnet pid=10711 from=192.168.1.136
2693 Apr  9 12:39:09 localhost xinetd: EXIT: telnet status=1 pid=10711 duration=15(sec)
....

由於不是很熟悉日誌這些東西,暫時只能找到這些,哈哈,望各位大俠指點一下

[火星人 ] 請教xp下不能ssh/telnet vm下的rehl5,但rehl5能自己ssh/telnet自己已經有570次圍觀

http://coctec.com/docs/service/show-post-5742.html