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 the following command:


user@localhost: ssh USER@HOST_NAME -pPORT

- USER - the user for which you want to establish the SSH connection. If your account is hosted by SiteGround, 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;

- PORT - the port for the connection;

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


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 1736