|
RT!
虚拟机是centos5.4。才装的。能够yum安装软件。
从win使用pietty登录上来发现不可以!
但是另一个windows 2003虚拟机就可以登录上来!!
我在虚拟机上运行
ssh localhost
报告:
connect to host localhost port 22 connection refused
以下是连接不上的虚拟机上的诊断:
ps -ef|grep ssh
返回
root 2555 1 0 18:28 ? 00:00:00 /usr/sbin/sshd
root 2647 2555 0 18:36 ? 00:00:00 sshd: root@pts/0
root 2670 2555 0 18:47 ? 00:00:00 sshd: root@pts/1
root 2742 2672 0 19:03 pts/1 00:00:00 grep ssh
ssh localhost
返回
ssh: connect to host localhost port 22: Connection refused
netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 192.168.1.54:22 0.0.0.0:* LISTEN 2555/sshd |
|