In this article, we'll show you how to establish an SSH connection to your server on Linux.

Prerequisite

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.