Connect with SSH or PuTTY

Log in to your VM from Linux, macOS or Windows with the key or password you chose when ordering.

Every new VM has a login method that you chose on the order form: a key we generated for you, your own SSH key, or a password. The VM page shows it under How to connect, together with the key fingerprint and a command you can copy.

You log in as root. VMs ordered before login methods existed use the image's own user instead (ubuntu on Ubuntu, debian on Debian).

Linux, macOS or Windows Terminal (OpenSSH)

  1. Find the private key file. If we generated the key, it is the .pem file you downloaded (for example venesh-my-vm.pem).
  2. Make the file private to you. On Linux and macOS run chmod 600 venesh-my-vm.pem. On Windows, keep it inside your own user folder.
  3. Connect, replacing the address with your VM's IP from the VM page: ssh -i venesh-my-vm.pem root@203.0.113.10
  4. The first time, type yes to accept the server's host key.

With your own key, point -i at your private key (for example ~/.ssh/id_ed25519), or leave -i out if it is your default key.

Windows with PuTTY

  1. Open PuTTY. In Host Name type root@ and your VM's IP, port 22.
  2. Go to Connection > SSH > Auth > Credentials and choose your .ppk file under Private key file for authentication.
  3. Optional: go back to Session, type a name and choose Save, so next time you only double-click it.
  4. Choose Open and accept the host key the first time.

If you have only the OpenSSH file, open PuTTYgen, choose Load, pick the file and Save private key to get a .ppk.

With a password

When you chose Password and ticked Allow SSH login with this password, connect with ssh root@203.0.113.10 (or PuTTY without a key) and type the password when asked.

If you did not tick it, SSH with a password stays off. Sign in on the Console as root with your password.

Bots try passwords on every server's SSH port all day. If you allowed password logins, use a long, unique password, or switch to a key.

Lost the key or the password

Open the VM and choose Reset root password. You set a new password and can add a new SSH public key at the same time. See Reset the root password.

Common errors

Message What it means
Permission denied (publickey) Wrong key file, or the VM uses another user. Check the command on the VM page.
UNPROTECTED PRIVATE KEY FILE The key file is readable by others. Run chmod 600 on it.
Connection timed out The VM is stopped, or a firewall blocks port 22.
Server refused our key (PuTTY) PuTTY is using a different .ppk, or none. Check Credentials.