Connect with SSH
If your virtual machine is running Linux, you use SSH (Secure Shell) to connect to it.
To connect to your VM, you need to open a terminal. How you do this varies between operating systems and window managers, but generally:
Linux: Search Terminal or press CTRL-ALT-T.
macOS: Search Terminal.
Windows: Search PowerShell.
Once the terminal is open, enter the following SSH command. Replace username with the username on the VM and replace the IP address (after the @) with your VM’s IP address.
ssh username@203.0.113.41If you have multiple SSH keys, you may need to specify the path of your private key using the -i flag, as in ssh -i /path/to/private/key username@203.0.113.41.
The first time you log in, the VM isn’t identified on your local machine, prompting you to confirm that you want to continue connecting. You can type yes and then press ENTER.
The authenticity of host '203.0.113.41 (203.0.113.41)' can't be established.
ECDSA key fingerprint is SHA256:IcLk6dLi+0yTOB6d7x1GMgExamplewZ2BuMn5/I5Jvo.
Are you sure you want to continue connecting (yes/no)? yesLast updated
Was this helpful?