moneyslow.com

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

42项证明材料取消

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.

Exit mobile version