Connecting to Your Server

After setting up your server, you receive access using the IP address stated in the console. You can also easily copy the SSH login from the instance card or overview page.

If you are using a terminal, connect with:

SSH will automatically try keys from ~/.ssh/ (and your ssh-agent).

Use -i only if the key is not a default name. Use it if you have multiple keys.

If you do this often, add a host entry in ~/.ssh/config:

Then connect with:

Troubleshooting: known_hosts / host key warnings

If you redeploy an instance, its SSH host key changes. If you later connect to the same IP or hostname, SSH may block the login.

You will usually see one of these:

  • WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

  • Offending key in ~/.ssh/known_hosts

  • SSH asks to add a new fingerprint, but fails to save it

circle-exclamation

Alternatively, you can use your favorite SSH client to connect to the server. Below is an example using Putty:

Add your server info to Putty and click Save. After saving, you will need to add your private key:

Add your key, go back to session and save again. Don’t forget to click save again on session, or your private key won’t be saved!

Next, we click Open and are greeted with our login screen. Use username root to proceed. If you used an authentication key with a passphrase, you will be prompted to type it in. You should now be logged in now!

circle-info

Tip: You can paste text into your terminal in Putty by right-clicking. You can copy things from your terminal to your Windows desktop by just selecting text (no need to press ctrl+c or copy), it will save the text in the clipboard.

Last updated

Was this helpful?