$ 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
$ 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