What is 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 connect to your Cloudnet 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 authentication

How to Connect 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.

How to Connect 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.
Hjalp denne artikel dig?
Annuller
Tak!