Import from PuTTY
Complete guide to import your PuTTY sessions into Xermius in just a few minutes.
Overview
PuTTY stores sessions in the Windows Registry. Xermius can import these sessions directly from a registry export file.
What Gets Imported:
- ✅ Session names → Host names
- ✅ HostName → IP address/hostname
- ✅ Port number
- ✅ Username
- ❌ SSH keys (will need to re-configure)
- ❌ Passwords (not stored in registry)
- ❌ Terminal colors/fonts
Export from PuTTY
Method 1: Registry Editor (Recommended)
-
Open Registry Editor:
- Press
Win + R - Type
regedit - Click OK
- Press
-
Navigate to PuTTY Sessions:
HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions -
Export Sessions:
- Right-click on Sessions folder
- Select Export
- Choose save location
- Name it
putty-sessions.reg - Click Save
Method 2: Command Line
Open Command Prompt and run:
reg export "HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions" "%USERPROFILE%\Desktop\putty-sessions.reg"
This saves the file to your Desktop.
Import to Xermius
Step 1: Open Import Dialog
- Open Xermius
- Click NEW HOST dropdown
- Select Import Hosts
Step 2: Select PuTTY Format
- Click PuTTY tab
- Click Browse File
- Select your
putty-sessions.regfile - Click Open
Step 3: Preview & Confirm
┌──────────────────────────────────────────────┐
│ Import Preview │
├──────────────────────────────────────────────┤
│ Found 15 PuTTY sessions │
│ │
│ ✓ production-web │
│ 192.168.1.100:22 (admin) │
│ │
│ ✓ dev-database │
│ 192.168.1.101:3306 (root) │
│ │
│ ✓ staging-server │
│ staging.example.com:22 (ubuntu) │
│ │
│ ... 12 more │
├──────────────────────────────────────────────┤
│ [Cancel] [Import 15] │
└──────────────────────────────────────────────┘
- Review the sessions
- Click Import
Step 4: Complete Import
✓ Successfully imported 15 hosts from PuTTY
- 15 new hosts added
- 0 duplicates skipped
Your PuTTY sessions are now in Xermius!
Configuration Mapping
What Transfers Automatically
| PuTTY Setting | Xermius Field | Notes |
|---|---|---|
| Session Name | Host Name | Direct copy |
| HostName | Host Address | IP or hostname |
| Port Number | Port | Converted from hex |
| UserName | Username | If set in PuTTY |
| Protocol | - | Only SSH imported |
What Needs Manual Setup
SSH Keys:
- PuTTY uses PPK format keys
- Xermius uses standard OpenSSH keys
- Convert PPK → OpenSSH first (see below)
- Then add to Xermius keychain
Passwords:
- Not stored in registry
- Add manually after import
Colors & Fonts:
- Set globally in Xermius Settings
- Or per-host in Edit Host
Converting PuTTY Keys
If you use PPK key files, convert them to OpenSSH format:
Using PuTTYgen
- Open PuTTYgen
- Load PPK Key:
- Click Load
- Select your
.ppkfile
- Export OpenSSH:
- Click Conversions → Export OpenSSH key
- Save as
id_rsa(or your preferred name)
- Import to Xermius:
- Go to SSH Keys tab
- Click Import Key
- Select your exported key
Using ssh-keygen
On Linux/macOS:
ssh-keygen -i -f putty-key.ppk > openssh-key
Post-Import Tasks
1. Verify Connections
Test a few imported hosts:
1. Select a host
2. Click Connect
3. Enter password (if not using keys)
4. Verify connection works
2. Organize Hosts
Add groups:
- Production
- Development
- Staging
- Clients
Add tags:
- web-server
- database
- cache
- api
3. Set Up SSH Keys
For each host using keys:
1. Import/create SSH key in keychain
2. Edit host
3. Select SSH key from dropdown
4. Save
4. Configure Preferences
Set your preferred defaults:
- Terminal font
- Color scheme
- Default shell
- Auto-connect options
Troubleshooting
No Sessions Found
Problem: Import shows "No valid hosts found"
Solution:
- Verify registry export contains sessions
- Open
.regfile in text editor - Should see
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\...] - Check Protocol is "ssh"
Session Names With Spaces
Problem: Session name "Production Server" not found
Solution:
- PuTTY encodes spaces as
%20 - Xermius automatically decodes these
- No action needed
Port Shows As Strange Number
Problem: Port imported as wrong number
Solution:
- PuTTY stores ports in hexadecimal
- Xermius converts automatically
- If incorrect, edit host and fix manually
Missing Username
Problem: Username not imported
Solution:
- PuTTY doesn't always store username in registry
- Add manually after import:
- Right-click host → Edit
- Enter username
- Save
Tips for Smooth Migration
Before Export
✅ Review PuTTY sessions - Remove old/unused ones
✅ Note custom settings - Colors, fonts, etc. to replicate
✅ Backup PPK keys - If using key authentication
✅ Document passwords - Securely note passwords for each
During Import
✅ Import in batches - If you have 100+ sessions
✅ Use preview - Check before confirming import
✅ Note SSH key sessions - List which ones need keys
After Import
✅ Test connections - Verify a few important hosts
✅ Set up keys - Configure SSH key authentication
✅ Organize - Create groups and tags
✅ Clean up - Remove any incorrectly imported hosts
Example: Full Migration
Let's migrate 3 PuTTY sessions:
PuTTY Sessions:
- production-web (192.168.1.100:22, user: admin, key: prod.ppk)
- staging-db (192.168.1.101:3306, user: root, password)
- dev-server (dev.example.com:2222, user: developer, password)
Steps:
-
Export from PuTTY:
reg export "HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions" putty.reg -
Convert SSH Key:
- Open PuTTYgen
- Load
prod.ppk - Export as OpenSSH key →
prod-key
-
Import to Xermius:
- Import Hosts → PuTTY tab
- Select
putty.reg - Import 3 hosts
-
Configure SSH Key:
- SSH Keys → Import Key
- Import
prod-key - Edit production-web host
- Select imported key
-
Set Passwords:
- Edit staging-db → Enter password
- Edit dev-server → Enter password
-
Test All:
- Connect to production-web (should work with key)
- Connect to staging-db (enter password)
- Connect to dev-server (enter password)
Done! All 3 sessions migrated and working.