Linux > General Linux

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

(1/1)

nandulalr:
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: ---cp -p /etc/ssh/sshd_config /etc/ssh/sshd_config.back
vim /etc/ssh/sshd_config
--- End code ---

Change "PasswordAuthentication no" to "PasswordAuthentication yes"

Restart sshd service


--- Code: ---service sshd restart
--- End code ---

Try to login again.

Navigation

[0] Message Index

Go to full version