Step 2: Log in to a server
Follow these steps on on your laptop/PC:
Open a terminal window on your laptop or PC to enter commands
To connect to VPS, use the
sshcommand from your terminal:ssh $USER@$REMOTE_SERVER
Example:
ssh root@706.437.14.562When you log in the first time, you’ll see the following message:
The authenticity of host '$REMOTE_SERVER' can`t be established. ED25519 key fingerprint is SHA256:... This key is not known by any other names. Are you sure you want to continue connecting (yes/no/[fingerprint])?
Type yes and press Enter. This will prompt you to input a password. Note, all Linux systems don’t reveal passwords when you type them. Finish entering your password and click Enter.
Going forward, any time you want to log in to your VPS via the terminal, enter the command:
ssh $USER@$REMOTE_SERVER