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
known_hosts / host key warningsIf 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_hostsSSH asks to add a new fingerprint, but fails to save it
Remove only the stale entry for that IP/hostname:
If SSH cannot save the new fingerprint, fix permissions:
Retry:
Optional (adds the fingerprint without an interactive prompt):
This removes saved fingerprints for all hosts. Do this only if you understand the tradeoff.
Backup and clear:
Ensure the file exists and is writable:
Retry:
Only accept a new host key if you expect it to change (for example after redeploy). If the change is unexpected, treat it as a potential security issue.
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!
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?