Key Management¶
Manage your SSH keys in StormTunnel.
Opening Key Management¶
- Press ⌘K, or
- Go to Settings > SSH Keys
Window Layout¶
Left: List of all your SSH keys
Middle: Details about the selected key (format, validation status, fingerprint)
Right: Actions you can perform on the key
Finding Your Keys¶
StormTunnel automatically discovers SSH keys in your ~/.ssh/ directory. Existing keys appear when you open Key Management.
Importing Keys¶
- Click Import
- Select your key file (.pem, .key, or id_rsa/id_ed25519)
- Click Open
You can also drag and drop a key file directly into the Key Management window.
SSH Key Types¶
| Type | Best For | Recommended? |
|---|---|---|
| ED25519 | Modern servers (fast and secure) | Yes |
| RSA | Older servers (widely compatible) | OK |
An SSH key pair consists of a private key (stays on your Mac) and a public key (shared with servers).
Key Status Indicators¶
- Green - Valid and ready to use
- Yellow - Works but has warnings (weak encryption, permissions)
- Red - Has problems and will not work
Using Keys in Tunnels¶
- Choose "SSH Key" authentication method when creating or editing a tunnel
- Select your key from the dropdown
- Save the tunnel
Copying Your Public Key¶
- Select your key
- Click Copy Public Key
- Paste into the server's
~/.ssh/authorized_keys
Ask your server administrator if you are unsure where to paste it.
Filtering Keys¶
Click the Filter dropdown to show:
- All Keys - Everything
- Valid Only - Working keys (green status)
- Needs Attention - Keys with warnings (yellow)
- Encrypted Keys - Password-protected keys
- Unencrypted Keys - Keys without password protection
Searching Keys¶
Use the search box to find keys by name:
github-- Find keys named "github-*"prod-- Find production keysed25519-- Find ED25519 keys
Common Issues¶
Key Not Appearing¶
- Check if it is in
~/.ssh/ - Try clicking Import manually
- Restart StormTunnel
"Invalid Key Format"¶
- Make sure you are selecting the private key (not the .pub file)
- Verify the file starts with
-----BEGIN OPENSSH PRIVATE KEY-----or-----BEGIN RSA PRIVATE KEY-----
Key Works in Terminal But Not in StormTunnel¶
- Re-import the key
- Check if key has a passphrase -- StormTunnel will prompt for it
- Verify file permissions are
600or400
Best Practices¶
- Use ED25519 keys -- modern and secure
- Use descriptive names -- e.g.,
id_ed25519_workinstead ofid_rsa - Keep separate keys -- different keys for work, personal, staging
- Never share private keys -- only share public keys
- Rotate keys regularly -- at least once per year
- Keep backups -- store a secure backup of important keys