首先通过物理终端进入到linux上,手工检查ssh发现没运行

 /etc/init.d/sshd status

使用rpm -V 命令可检查到ssh的软件包正常

/rpm -V openssh-server

手工启动服务,发现报告权限错误。

 /etc/init.d/sshd start


Starting sshd:/var/empty/sshd must be owned by root and not group or world-writable.


这个是权限的问题
chown   -R   root.root    /var/empty/sshd
chmod 744 /var/empty/sshd
service sshd restart