首页 > 代码库 > SSH: sshd dead but subsys locked

SSH: sshd dead but subsys locked

问题:

查看SSH的状态时,提示错误如下:

/etc/init.d/sshd statuserror: sshd dead but subsys locked

解决方法:

sshd -drm -rf /dev/null/mknod /dev/null c 1 3/etc/init.d/sshd restart