When trying to log into a server with WHM/cPanel via SSH and you get this error:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
This will be because password authentication is disabled in the sshd_config file
To resolve this you can log into WHM and enable the password authentication.
- WHM >> Security Center >> SSH Password Authorisation Tweak
Then restart the SSH service.