Skip to content

Authentication

Set up SSH keys or passwords to authenticate your tunnel connections.


Authentication Methods

Method Security Best For
SSH Key High Production, regular use
Password Medium Quick setup, testing

Recommendation: Use SSH keys when possible.


SSH Key Authentication

Select a Key

When creating or editing a tunnel:

  1. Choose SSH Key authentication
  2. Select your key from the dropdown
  3. Save the tunnel

StormTunnel automatically finds keys in ~/.ssh/.

Import Keys

If your keys are elsewhere:

  1. Go to Settings → Keys
  2. Click Import
  3. Select your private key file
  4. The key is now available for tunnels

Key Types

Type Recommendation
Ed25519 Best - modern and secure
RSA (4096-bit) Good - widely supported
ECDSA OK - good security

Password Authentication

Set Up Password

When creating or editing a tunnel:

  1. Choose Password authentication
  2. Enter your SSH password
  3. Enable Store in Keychain (recommended)
  4. Save the tunnel

Your password is encrypted and stored securely by macOS.

Update Password

  1. Edit the tunnel
  2. Enter the new password
  3. Save

Managing SSH Keys

View Your Keys

Go to Settings → Keys to:

  • See all imported keys
  • View key details
  • Copy public keys
  • Delete unused keys

Copy Public Key

To add your key to a server:

  1. Settings → Keys
  2. Select your key
  3. Click Copy Public Key
  4. Send to your server administrator

They'll add it to ~/.ssh/authorized_keys on the server.


Troubleshooting

"Permission denied (publickey)"

Your SSH key isn't authorized on the server.

Solutions:

  • Verify you selected the correct key
  • Ask admin to add your public key to the server
  • Test manually: ssh -i /path/to/key user@host

"Authentication failed"

Password is incorrect.

Solutions:

  • Verify the password is correct
  • Check Caps Lock
  • Re-enter the password in tunnel settings

"Host key verification failed"

Server's identity can't be verified.

Solutions:

  • Confirm you're connecting to the correct server
  • StormTunnel will store the host key on first successful connection
  • Ask admin for the server's fingerprint to verify

Best Practices

  1. Use SSH keys - More secure than passwords
  2. Use Ed25519 - Modern, fast, secure
  3. Never share private keys - Treat them like passwords
  4. Use Keychain - Let macOS store passwords securely
  5. Rotate keys yearly - For critical servers

Next Steps