Establish an SSH connection to your Linux server on a Linux computer
Please use the “Print” function at the bottom of the page to create a PDF.
For Cloud Servers, migrated Cloud Servers, VPS, Dedicated Servers, and Server Power Deals
This article will show you how to establish an SSH connection to your Linux server from a computer running the Linux operating system. Secure Shell (SSH) allows you to establish secure network connections with remote devices. Secure Shell (SSH) uses encryption to enable secure connections with other devices, such as a server. By using SSH, your data, such as passwords, user names, etc., cannot be spied on.
Requirement
You have enabled port 22 in your computer's firewall. For more information about checking the firewall configuration, please see the following article:
Checking the firewall configuration and network settings (Linux)
Open a terminal (e.g. xterm).
In the terminal, type the following command:
ssh root@<IP ADDRESS OF THE SERVER>
When you log in for the first time, the following prompt appears:
Are you sure you want to continue connecting?
Optional: Enter the command yes.
Enter your password.
You are now connected to the server.