[Solved] SSH connection error – Permission denied (publickey,gssapi-keyex,gssapi-with-mic) cPanel server
SSH is the abbreviation for Secured Shell. SSH is a command-line program to login to remote Linux server which has SSH server. SSH is using for remote administration via server command line as root or any other user on that server who has ability to access the web-server via shell. SSH (Secured Shell) is cryptographic protocol for remote server administration, data communication, remote command execution, and other secure network services between two networked computers. To connect machines by using SSH, the remote side must have a SSH server and also the client side must have SSH client to be installed.
In some strange situations, you may have trouble with SSH connection. If you are facing this error while accessing the server via SSH, here is the solution.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
The password authentication was disabled on sshd_config file:
You can simply overcome this from your WHM control panel. Access your WHM control panel and do follow the steps below to overcome the SSH error.
Step I : Login to WHM
Step II : Go to,
WHM >> Security Center »SSH Password Authorization Tweak
Step III : Restart the sshd service.
That’s it 🙂
1, Important cPanel service’s configuration file, path, service name, port – Command line view
2, How to change cpanel port through command line
3, How to enable Varnish in cPanel server
4, How to check the version of your WHM/cPanel from command line ?