How to Transfer / Migrate / Import / Export PuTTY Session List from Windows to Linux
Problem: How to export / import / migrate / transfer PuTTY sessions list from Windows to Linux.
Content Summary
Transfer PuTTY sessions list from Windows to Windows
Transfer PuTTY sessions list from Linux to Linux
Transfer PuTTY sessions list from Windows to Linux
Reference
Transfer PuTTY sessions list from Windows to Windows
PuTTY stores the session information in registry on Windows OS by default.
Export PuTTY sessions list using cmd.exe require elevated prompt
Only sessions: regedit /e "%USERPROFILE%\Desktop\putty-sessions.reg" HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions
All settings: regedit /e "%USERPROFILE%\Desktop\putty.reg" HKEY_CURRENT_USER\Software\SimonTatham
Export PuTTY sessions list using Powershell
Only sessions: reg export HKCU\Software\SimonTatham\PuTTY\Sessions ([Environment]::GetFolderPath("Desktop") + "\putty-sessions.reg")
All settings: reg export HKCU\Software\SimonTatham ([Environment]::GetFolderPath("Desktop") + "\putty.reg")
Import PuTTY sessions list
Double-click on the *.reg file and accept the import.
Import PuTTY sessions list using cmd.exe require elevated command prompt
regedit /i putty-sessions.reg
regedit /i putty.reg
Import PuTTY sessions list using PowerShell
reg import putty-sessions.reg
reg import putty.reg
Note: do not replace SimonTatham with your username. Note: It will create a reg file on the Desktop of the current user.
Note: It will not export related SSH keys.
More detail at https://pupuweb.com/transfer-migrate-import-export-putty-session-list-windows-linux/
Originally published at pupuweb.com on October 1, 2018.