慢慢赚钱博客

4月 24 2019

ssh failed Permission denied (publickey,gssapi-keyex,gssapi-with-mic)报错解决办法

ssh failed Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

If you are facing issues with ssh login and displaying the error message “ssh failed Permission denied (publickey,gssapi-keyex,gssapi-with-mic)”, try to follow the below steps:

You may try edit in /etc/ssh/sshd_config:

cp -p /etc/ssh/sshd_config /etc/ssh/sshd_config.back
vim /etc/ssh/sshd_config
Change "PasswordAuthentication no" to "PasswordAuthentication yes"

Restart sshd service

service sshd restart
Try to login again.

Written by moneyslow.com

moneyslow.com真棒!