In-order to log in to an account via SSH all we need to do is initiating an SSH connection in Linux there are 2 steps 1) Shell Prompt and 2) SSH client
1)Shell Prompt
Open a shell prompt and execute the following command:
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.
2)SSH client,
You can use any of the SSH client one of which is most recommends is PUTTY. You can install putty ans once it is installed you need to enter following details:
Specify the hostname or IP address for your server and click on 'open' to initiate the connection. You can leave the rest option as it is and if it is your first time to connect to the server, you will have to accept its SSH certificate.
Specify root (if you are the administrator for this server) or your username.
Specify your password.
Once completed then it will allow you to log in an SSH server with a default setup.
Once you are logged in with default setup you can login to any account with the command cd ~username
Make sure to replace the username with actual account username
__________________
Carol.P
|