SSH keys
The SSH Keys tab stores the keys for signing in to servers. The Usage column shows how many connections use the key. The buttons in a row are Copy public key, View / edit, and Delete key.
Create a key
- On the SSH Keys tab, click Generate key.
- Make sure Generate new is selected in the form.
- Enter a Name and choose an Algorithm: Ed25519 (the default), RSA 2048, 3072, or 4096, or ECDSA P-256, P-384, or P-521. A key passphrase is optional.
- Click the create button at the bottom of the panel.
After the key is created, you'll see the message Key created. Copy the public key into ~/.ssh/authorized_keys on the server.
Add an existing key
- On the SSH Keys tab, click Add key.
- Make sure Import existing is selected in the form.
- Enter a Name and paste the key into the Private key (PEM) field. If the key is protected with a passphrase, enter it in Passphrase.
- Click the add button at the bottom of the panel.
View, edit, or delete a key
View / edit opens the key's panel: there you can rename the key, change its comment, show the private key with the Reveal button, and copy it with the Copy private key button.
Delete key asks for confirmation. If the key is used by connections, the window warns: Key "name" is used by N connection(s). They will lose their key and must be reassigned. Delete? Those connections then show The previously selected key was deleted — pick another one.
Troubleshooting
Wrong passphrase or The key is encrypted — enter its passphrase
What happened. When adding a key on the SSH Keys tab: the key is protected with a passphrase, and the passphrase is missing or wrong.
What to do. Enter the correct key passphrase in the Passphrase field.
The previously selected key was deleted — pick another one
What happened. The key selected in a connection was deleted on the SSH Keys tab.
What to do. Open the connection and choose another key.