1. Home
  2. Hosting Management
  3. FTP & SSH Access
  4. How to Log in to Your Account via SSH

How to Log in to Your Account via SSH

SSH or Secure Shell is a network communication protocol that enables two computers to communicate and share data. Using an SSH connection you can easily manage or edit all your files and folders directly on the server.

While there are a few different ways of logging into an SSH server in general, you can only connect to your ChemiCloud server using SSH keys. SSH keys provide an easy, yet an extremely secure way of logging into your server, that why this is the method we recommend for all users.

SSH key pairs are two cryptographically secure keys that are used to authenticate a client to a server, each key pair consists of a public key and a private key. Luckily you can easily generate and save a key pair from your cPanel account by following this guide.

Please make sure that your SSH Key has been authorized before setting up SSH authentification

Authenticate to your Server using SSH Keys in MacOS

1) Find the “Terminal” application in launchpad and start it.

2) Save the key from your cPanel account as described here.

3) Now you need to add the Private Key that you downloaded to your Mac OSX Keychain, this can be done by running the following command in the terminal:

ssh-add -K /path/of/private/key

You’ll be asked for the password you used when generating the SSH Key in cPanel.

4) Now you are ready to connect to the server via SSH, you just need to run this command from the terminal:

ssh USER@HOST_NAME -p 1988

USER – this will be the same username as the one you use to log in to your cPanel account.

HOST_NAME (or IP address) – here you should enter either the hostname or the IP of the server to which you wish to connect;

p – the port used for the connection, we use port 1988 for SSH access.

That’s all, you should now be logged into your account.

Authenticate to your Server using SSH Keys in Linux

1) Find the “Terminal” application in launchpad and start it.

2) Save the key from your cPanel account as described here.

3) Now you need to add the Private Key that you downloaded to the ssh-agent, this can be done by running the following command in the terminal:

ssh-add -k /path/of/private/key

You’ll be asked for the password you used when generating the SSH Key in cPanel.

4) Now you are ready to connect to the server via SSH, you just need to run this command from the terminal:

ssh USER@HOST_NAME -p 1988

USER – this will be the same username as the one you use to log in to your cPanel account.

HOST_NAME (or IP address) – here you should enter either the hostname or the IP of the server to which you wish to connect;

p – the port used for the connection which is 1988.

That’s all, you should now be logged into your account.

Authenticate to your Server Using SSH Keys in Windows

While MacOS and other Linux-based operating systems have an integrated terminal, you will need special software on Windows. PuTTY is a free and popular open-source terminal emulator that can be used to connect to the server.

1) Install and run PuTTy. Expand the “SSH” category from the left side and click on the “Auth” button. From the right side window click on the “Browse” button and select downloaded private key, this key needs to have a *.ppk or *.txt extension. This can be downloaded directly from the cPanel account.

2) Click on “Session” tab located in the top left menu, and enter the “IP” and the port:1988 (both are in your welcome letter – this may come as an IP address or a hostname).

3) Under “Saved Sessions” enter a custom name which will be used to save this information fields. Click on the “Save” button to save all the settings so you don’t need to add the key again next time you try to connect.

4) That’s all you need to do, now just click “Open” and the server will ask you for the passphrase you have used for your SSH Key after you enter it you’ll connect to the server.

Updated on August 7, 2019

Was this article helpful?

Related Articles

Do you still need help?
Get amazingly fast Support from our Happiness Engineers!
Submit Ticket