OpenSSH is included on Linux, macOS, and Windows Subsystem for Linux. You need to use a terminal on a Linux, macOS, or Windows computer to connect to your Instances with SSH.
To connect to the Remote Desktop via SSH, follow the steps below:
- Open the terminal and use the following command and enter the IP address of an Instance.
ssh root@203.0.113.0
Note: For most of the operating systems (Ubuntu and CentOS), the username is root. - When you log in the first time, the server isn’t identified on your local machine, so you will be prompted with the following message:
The authenticity of host '203.0.113.0 (203.0.113.0)' can't be established.
ECDSA key fingerprint is
SHA256:IcLk6dLi+0yTOB6d7x1GMgExamplewZ2BuMn5/I5Jvo. - Type yes and then press ENTER to continue.
Are you sure you want to continue connecting (yes/no)? yes
- As a host key is saved to your local machine, you will receive the following confirmation:
Warning: Permanently added '203.0.113.0' (ECDSA) to the list of known hosts
-
In the authentication process, you will be connected to your Instance instantly if you already have added SSH keys.
- In case you didn’t add your SSH keys, you will be asked for your password with the following command:
root@203.0.113.0's password:
-
Enter the password and press ENTER.