Import & Export¶
Backup, share, and migrate your tunnel configurations.
Quick Reference¶
Export Tunnels¶
- File → Export (Cmd+E)
- Choose save location
- Click Export
Import Tunnels¶
- File → Import (Cmd+I)
- Select the file
- Choose Merge or Replace All
- Click Import
Exporting¶
Basic Export¶
Exports all tunnels with default settings (no passwords, no SSH keys):
- File → Export (or Cmd+E)
- Choose where to save
- Click Export
Export Options¶
For more control, use File → Export Options:
| Option | Description | Default |
|---|---|---|
| All Tunnels | Export everything | ✓ |
| Selected Tunnels | Choose specific tunnels | |
| Include Passwords | Export saved passwords | Off |
| Include SSH Keys | Export key file paths | Off |
| Compress | Smaller file size | Off |
| Encrypt (Premium) | AES-256 encryption | Off |
Password Security
If including passwords, enable Encrypt Output to protect them.
Encrypted Export (Premium)¶
- Enable Encrypt Output in export options
- Enter a strong password
- Store password separately from the file
- Share the password through a different channel
Importing¶
Import Modes¶
Merge (Default):
- Adds new tunnels
- Updates existing tunnels with same ID
- Keeps tunnels not in the file
Replace All:
- Removes all existing tunnels
- Imports only what's in the file
- Use for clean restore
Conflict Resolution¶
When tunnels conflict, choose:
| Option | What Happens |
|---|---|
| Keep Existing | Don't import the conflicting tunnel |
| Replace | Overwrite with imported version |
| Import as New | Create copy with different name |
Importing Encrypted Files¶
When importing an encrypted export:
- StormTunnel detects encryption automatically
- Enter the password used during export
- File decrypts and imports normally
Lost Password
There's no recovery for encrypted exports. If you lose the password, the file can't be imported.
Common Use Cases¶
Personal Backup¶
Regular backups of your configuration:
- Export monthly with date in filename (
backup-2025-12.json) - Include passwords only if encrypted
- Store in secure location
Team Sharing¶
Share tunnel configs with colleagues:
- Export selected tunnels only
- Don't include passwords
- Include SSH key paths (they'll use their own keys)
- Share via secure channel
New Mac Setup¶
Migrate to a new computer:
- Export all tunnels (encrypted if including passwords)
- Transfer file to new Mac
- Import with Replace All
- Verify tunnels work
What Gets Exported¶
| Included | Not Included |
|---|---|
| Tunnel names and settings | Passwords (unless enabled) |
| Host, ports, connection type | Private SSH keys (only paths) |
| AWS configuration | AWS credentials |
Troubleshooting¶
"Invalid Format" Error¶
File isn't a valid StormTunnel export.
- Verify file was exported from StormTunnel
- Don't manually edit export files
"Incorrect Password"¶
Wrong password for encrypted file.
- Check caps lock
- Try the password you used when exporting
- After 5 failures, wait before retrying
Port Conflicts After Import¶
Multiple tunnels using same port.
- Edit tunnels to use different local ports
- Or use conflict resolution during import
Keyboard Shortcuts¶
| Action | Shortcut |
|---|---|
| Export | Cmd+E |
| Import | Cmd+I |
Related¶
- Creating Tunnels - Configure tunnels
- Team Workflows - Sharing with teams