Warning: To connect to the server via SSH, you should have a login name and password or private key provided by server's administrator or Hosting Provider(the company that sold your server), not the Plesk ones. If you don't have login credentials, you can obtain it only from server owner. If the login is not 'root', your SSH login should be included in 'super users' list that can be done only by the server owner.
- For Windows, use PuTTY to do remote SSH logins from Windows.
- On Linux, use Terminal application. This application is available in every distributive.
- MacOS X also has Terminal app is installed by default.
Login on Windows
For this, it is required to download Putty client and run it.
- Contact the company that hosts your server(Hosting Provider) and ask SSH credentials if you don't have it, SSH port if custom.
- Run putty.exe
- Enter the server's address, this can be a hostname, IP Address or name of the website.
Note: Port may be different!
If you log in to this server for the first time you will get a security alert regarding server fingerprint. If you are sure that you're connecting to the right server you can click Yes
Input your SSH username and password to log in.(NOT THE PLESK ONES!)
- If you are logging in with any username except root, acquire root privileges by typing the following command and entering your user password:
# sudo su -
- If something goes wrong with SSH login to your server, contact your server's administrator or Hosting Provider for support since Plesk support is not capable to solve such issues.
Login on Linux or MacOS X
Linux, MacOS X and most UNIX variants have SSH installed by default, you don't need to install any additional packages.
Contact the company that hosts your server(Hosting Provider) and ask SSH credentials if you don't have it, SSH port if custom.
To login to a Linux server using ssh run Terminal application use the following command:
# ssh username@server
Another way to login is using the -l option for username :
# ssh server -l username
In case you need to access a server that is not using SSH default port (22), you can specify an SSH server port number using
-p option. In the example below the SSH port is 2222.
# ssh server -l username -p 2222
If you are logging in with any username except root, acquire root privileges by typing the following command and entering your user password:
# sudo su -
Note: In case of the first login you will see a fingerprint warning. Just type yes.