Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: ssh failed Permission denied (publickey,gssapi-keyex,gssapi-with-mic)  (Read 9712 times)

0 Members and 2 Guests are viewing this topic.


  • Guest
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:

Code: [Select]
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

Code: [Select]
service sshd restart
Try to login again.