Verdant TCS

Generate an SSH Key with Termius

4 min read

Introduction

Termius is a fantastic, free SSH client that you can use to easily manage all of your servers. You can also use it to generate an SSH key pair and this article will walk you through how to do this.

ABOUT TERMIUS

It works across Windows, macOS, Linux, iOS, and Android, and there’s a free version that is plenty adequate for most. The paid version is pretty great too, but not at all necessary to make it worthwhile.

Step 1. Download and Install Termius

Termius is a favorite among our team, and we have this article on how to download and set it up:

Step 2. Launch Termius and Open Preferences

Launch the app, click the gear icon on the upper left corner, and a new window will pop up.

Step 3. Generate Your Key

Select Keychain from the menu on the left, click on “+ NEW KEY” and select “Generate new key” from the dropdown: 

Step 4. Configure Your Key Settings

Set a Label for your key and then:

  1. Select RSA under Key type
  2. Select 4096 under Key size


You can either set a Passphrase or leave it blank.

Click Generate & Save.

Step 5. Copy Your Public Key

Your key has now been generated and is ready to go. Copy your public key for the next step.

KEY COMMENT NOTE

Just a quick note that Termius adds spaces in the key comment as shown in the image below. This won’t cause an issue on vCanopy, but it’s possible it may on other platforms. If you’re using it elsewhere you may want to replace the spaces with dashes or remove/replace it entirely.

Step 6. Add your Public Key to vCanopy

1. GO TO YOUR vCanopy SETTINGS 

Login to your vCanopy account and click the Your Settings menu item in the dropdown menu accessible by clicking on your username and icon.

2. ADD YOUR PUBLIC SSH KEY TO THE SSH KEY SETTINGS PANEL

Locate and click the SSH Keys option in the left horizontal menu, and then paste your Public SSH Key in the Add SSH Public Key panel and click Add Key. You should name this key, since the key will be used for root access to your server I would suggest calling it the root key.

Once you have successfully added your public key it will be listed in the Active SSH Keys panel.

MARK YOUR SSH KEYS AS DEFAULT (OPTIONAL)

vCanopy has a Default SSH Keys feature which allows you to add your keys to any servers you provision automatically.

We have an easy-to-follow guide to help you enable this feature here.

3. GO TO YOUR SERVERS PAGE

The list of Active servers is located on the vCanopy home page. Click Servers from the vCanopy main menu to navigate there:

4. LOCATE AND CLICK THE ADD/REMOVE PUBLIC SSH KEYS BUTTON

In your Active Servers panel click the Add/Remove Public SSH Keys button located to the right of the server row. The button has a key icon:

5. ADD YOUR SSH KEY

A pop-up modal will appear containing checkboxes for all of the Public SSH Keys available from your vCanopy Settings.

To add a key, select the key from Available Keys column on the left, and then use the right arrow to add it to your server.

Search the Knowledge Base

New to vCanopy?

Get started with our FREE Core plan today! We bring the software, you bring the hardware.