How to log in to my Hostlantern shared account via SSH in Linux?

First you should generate an SSH key pair on your Linux distribution.

Alternatively, you can generate the SSH keys through your cPanel-> SSH/Shell access section. There you should enter the passphrase and get the private key.

Then you should load your private SSH key using the following command:

user@localhost: ssh-add /home/user/.ssh/id_dsa

Enter passphrase for id_dsa:

Identity added: id_dsa (id_dsa)

(The passphrase is the same as the one you have set during the generation of the SSH key.)

Then you should initiate an SSH connection:

user@localhost: ssh USER@HOST_NAME -pPORT

  • USER - the user for which you want to establish the SSH connection; this will be the same username as the one you use to log in to your cPanel.
  • HOST_NAME (or IP address) - here you should enter the host/IP of the server to which you wish to connect (e.g. siteground300.com);
  • PORT - the port for the connection - here you should enter 18765;

Press "Enter" and if everything has been set up properly, you will establish an SSH connection to your account.

The SSH/Shell access feature is available free of charge for all Hostlantern hosting accounts by default.

If you need SSH access to your account but your current host does not allow it, you can check our SSH web hosting package. Hostlantern has long experience with various SSH issues and our support team will gladly help you with any SSH-related questions/problems you may have.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to log in to my Hostlantern shared account via SSH using PuTTY?

Please note that due to our security policy, we don't use the default SSH port. Please use port...

How to log in to my Cloud hosting/VDS via SSH using PuTTY?

The following instructions are valid only for Hostlantern customers. If you are not a Hostlantern...

How to Enable SSH for Cloud VPS on Windows

You can establish an SSH connection using the PuTTY SSH client. You can download PuTTY for free...

How to Enable SSH for Cloud VPS on Linux

First you need to generate SSH key pair for your connection. Under Linux you can do so using the...

How to log in to an account via SSH in Linux?

All you need to do to initiate an SSH connection in Linux is open a shell prompt and execute...