How to log in to my Hostlantern shared account via SSH in Mac OS?

First you should generate an SSH key pair on your Mac OS.

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:

computer_local_host_name: ssh-add /Users/Youruser/.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.)

Next, you need to upload the public key to your account using the SSH/Shell Access tool in your cPanel.

Finally, you should initiate an SSH connection:

computer_local_host_name: ssh USER@HOST_NAME -pPORT

  • USER - the user for which you want to establish the SSH connection; this is 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;
  • 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 manage your website 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 load an SSH key in Transmit

In order to load an SSH key in Transmit, the key has to be in either PEM or PuTTY (.ppk) format....

How to Connect to Telnet via Mac Terminal

To connect to a server on its Telnet port via your Mac's Terminal application, you need to follow...

Apple/Mac client-side website checks

Prior to posting a website down ticket from your Help Desk it is recommended to test the...

How to log in to my Cloud hosting/VDS via SSH in Mac OS?

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

How to clear the local DNS cache in Mac OS?

You can flush your local DNS cache in Mac OS by following these easy steps: 1. Open your...