SSH 登录是错误:Permission denied (publickey,gssapi-with-mic)

来源:互联网 发布:知乎提示浏览器版本低 编辑:程序博客网 时间:2024/05/21 15:48

$ ssh root@192.168.xx.xx


Permission denied (publickey,gssapi-with-mic).



报了这么个错,原因是我上次做测试时修改了/etc/ssh/sshd_config 中的"PasswordAuthentication"参数值为"no",修改回"yes",重启sshd服务即可。

service sshd restart

systemctl restart sshd.service

阅读全文
0 0