Error "Permission denied (publickey,gssapi-keyex,gssapi-with-mic)" while accessing SSH on Linux.

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

  1. Bhawani Singh
    Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

    If you are getting this error while logging into your server through SSH then the reason behind this error is very simple and clear that password authentication is disabled on server in sshd_config file.


    Reason : Password authentication disabled on sshd_config file:

    Resolution : Very simple by enabling password authenticaion on server for SSH in sshd_config file.

    You can do this through your WHM control panel :
    Now you have to restart the sshd service to make it in affect.