ssh输入三次密码后,出现报错信息:publickey,password,keyboard-interactive
[root@syxk ~]# ssh proxy1
root@proxy1's password:
Permission denied, please try again.
root@proxy1's password:
Permission denied, please try again.
root@proxy1's password:
root@proxy1: Permission denied (publickey,password,keyboard-interactive)
[root@syxk ~]#
现在只能从物理机上的VM那边进行登录!!!
故障原因:/etc/ssh/sshd_config 配置文件被篡改导致. (注:先解决问题,不必深究具体哪个配置项.)
解决办法:
1、备份/etc/ssh/sshd_config配置文件
2、ssh连接到其他相同版本的服务器.拷贝一份/etc/ssh/sshd_config的配置文件覆盖掉现在有问题的/etc/ssh/sshd_config配置文件,再重启sshd服务即可.