How to access the server over SSH Print

  • 0

Before you can use SSH or related services that rely on it such as SFTP, Git or Rsync, you will need to request SSH access from us. Please open a support ticket and request access. We use a non-standard port number for SSH, we will supply you with the port number. When using example commands from this article please replace <port number> with our custom port number.

Once you have access you can log in over ssh using standard ssh commands, just remember to specify the custom port number, e.g.

ssh [email protected] -p <port number>

Configuring password-less access

If you will be logging in regularly or using tools such as Git, you may wish to set up password-less access using public private key pairs so that you are not constantly prompted for your password.

If you do not already have an SSH key pair set up on your local computer, then you will need to add one.

From your terminal enter the command:

ssh-keygen

You will then be prompted to select a location for the keys. By default, the keys are stored in the ~/.ssh directory with the filenames id_rsa for the private key and id_rsa.pub for the public key. We recommend accepting these default options. To do so, press ENTER. If you already have keys then you will be warned about overwriting them, you probably don't want to do this.

Now we need to copy your public key to the authorized keys on the server. To view your public key type the command:

cat ~/.ssh/id_rsa.pub

Copy the output of this command.

Log into the Web Hosting Control panel. Locate the SSH Keys icon (it's found under the Advanced Features heading).

Click the Paste Keys button. Paste your public key and click Create.

You should now be able to ssh into the server without using your password. Type the following command to test this, replacing "username" with your own username and <Port Number> with our custom SSH port number.

ssh [email protected] -p <Port Number>

Was this answer helpful?

« Back