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.
My name is Shashank Shekhar. I am a DevOps Engineer, currently working in one of the best companies in India. I am having around 5 years of experience in Linux Server Administration and DevOps tools.
I love to work in Linux environment & love learning new things.
Powered by Facebook Comments
Leave a Reply