Steps to connect to your server as a cPanel user via SSH can be found in this article.
First, ensure the user you'd like to utilize has either Jailed or Normal shell access. "No Shell" cannot be utilized when attempting to create an SSH session.
To connect to your server via SSH, perform the following steps:
- Open a new Terminal or Command Prompt
- Run "ssh -p $PORT $USER@$IP" where "$PORT" represents the port number, "$USER" represents your username, and "$IP" represents your IP address.
- If presented with the option to "accept a fingerprint" enter "yes" and press "Enter."
- Type the user's password--no output will be presented as you type--then press "Enter."
An example of the above command would be:
ssh -p 2211 email@example.com
cPanel supports using SSH keys, which can be generated with the "ssh-keygen" command. The public key can be added to your user via "cPanel / Security / SSH Access / Manage SSH Keys."
To authenticate with a key, add "-i ./path/to/private/key" to your SSH command:
ssh -p 2211 -i ./path/to/private/key firstname.lastname@example.org
Windows may not have this application enabled by default. To enable SSH on Windows, search for "Turn Windows Features on and off" in the Start Menu, then ensure "SSH Client" is enabled.