Skip to main content

How to use SSH keys on your Linux VPS.

For the purpose of this guide we'll be using Termius as our SSH client of choice.

Adding your SSH key to Termius

  1. After downloading and signing up for termius, you'll need to go to the settings. To get there, click on the settings icon in the upper left hand corner of termius:
Termius settings button
  1. Once in the settings head over to Keychain:
Termius preferences
  1. Click on the New key button then select the Import or paste a key button:
Termius adding a key
  1. Paste both your public and private keys that were generated in the previous guide:
Termius key added
  1. Once you're done, click the save button at the top right. You've now added your key.

Using the ssh key on your VPS

  1. Head back over to the main termius windows and select the ADD button then click the New Host button:
Termius key added
  1. Name your new server and place the IP of your VPS in the Address field and then set the username to root, afterwards click Keys:
Termius key added
  1. Then select the key that you created earlier:
Termius key added
You're done!

You should now be able to connect to your server with the SSH key that you created.