- 论坛徽章:
- 0
|
centos6.5
昨天断电之后,root ssh不上去了,但是其他用户可以,ssh_config里设置premitrootlogin yes重启服务也无效
有趣的是,用其他用户ssh上去,再用root ssh就可以了。。。
重装openssh-server也一样
日志是这样的
less /var/log/secure
Jun 16 12:10:50 vcompute sshd[8606]: Accepted password for root from ::1 port 53500 ssh2
Jun 16 12:10:50 vcompute sshd[8606]: pam_unix(sshd:session): session opened for user root by (uid=0)
Jun 16 12:10:50 vcompute sshd[8606]: Received disconnect from ::1: 11: disconnected by user
Jun 16 12:10:50 vcompute sshd[8606]: pam_unix(sshd:session): session closed for user root
|
|