Error “Permission denied (publickey,gssapi-keyex,gssapi-with-mic)” while accessing SSH in Linux

Google

Hello Friends,

Today, I am going to explain the error message “Permission denied (publickey,gssapi-keyex,gssapi-with-mic)”, while accessing SSH in Linux environment.

 

Issue :

Sometime when you try to access the server via SSH and you get the below error:

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

 

Reason :

Password authentication is disabled on sshd_config file:

 

Resolution :

Enable password authentication on server for SSH in sshd_config file.

You can do this through your WHM control panel by following the below mentioned steps:

    WHM >> “Security Center” >> “SSH Password Authorization Tweak” >> Enable Password Authentication.

Now you have to restart the sshd service to make this in affect.

Do not forget to comment below, if you face any issue regarding this.

Thank you.

Powered by Facebook Comments

Be the first to comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.