How to access your new virtual machine with SSH

You can use secure shell (SSH) connection to remotely manage your new virtual machine. To do so, you need an SSH client installed on your local machine. Most Unix-like operating systems (Linux, macOS) come with SSH pre-installed. For Windows, you can use the built-in OpenSSH client, or softwares like PuTTY.

  1. To start, open your terminal/SSH client.
  2. Type the following command in your terminal:

    ssh root@your_server_ip
    Replace your_server_ip with the IP address of your virtual machine.
  3. If you're connecting for the first time, you'll see a message asking if you want to continue connecting. Type yes and press Enter. If everything is correct, you should now be logged into your virtual machine.
  4. Once logged in, you'll see a command prompt that looks something like this:
    root@your_server:~$
    Now you can execute commands on your virtual machine. You can install software, configure settings, upload and edit files, etc.
  5. To exit the SSH session, simply type exit or use the shortcut Ctrl + C.