How To Transfer PuTTY Sessions To Another Windows Machine
How To Transfer PuTTY Sessions To Another Windows Machine
PuTTY is a terminal emulator application which can act as a client for the SSH, Telnet,
rlogin, and raw TCP computing protocols. You can use putty for remote login or to
control your router connected via serial devices.
By default PuTTY stores the session information in the registry on Windows machine. If
you have several PuTTY sessions stored in one laptop and would like to transfer those
sessions to another laptop, you need to transfer
HKEY_CURRENT_USER\Software\SimonTatham registry key and value as explained
below:
regedit /e "%userprofile%\desktop\putty-registry.reg"
HKEY_CURRENT_USER\Software\Simontatham
You can also launch the registry and interactively export the registry key value as
shown below. Click on Start -> Run -> regedit -> Click File menu -> Click Export menu-
item -> Enter HKEY_CURRENT_USER\Software\Simontatham in the “Selected branch”
-> Save the putty-registry.reg to your desktop.
Launch the putty to verify the new sessions are transferred successfully. The registry
key merge will not delete the previous PuTTY sessions. Instead, it will merge the entries
to the existing PuTTY sessions on the destination windows machine.
You can also import the registry key and value interactively: Click on Start -> Run ->
regedit -> Click File menu -> Click Import menu-item ->select the putty-registry.reg ->
click on Import, to import the PuTTY sessions to the destination windows machine.
Posted by: Vivek Gite
The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and
a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on
SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email
newsletter.
PuTTY sessions are stored in the Windows Registry under “SimonTatham”, the
developer of PuTTY. We can export these sessions as a Registry Entry .reg file and
back them up for safe keeping, or copy to another computer running PuTTY.
regedit /e "%USERPROFILE%\Desktop\putty-sessions.reg"
HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions
A file putty-sessions.reg should now be on your Desktop. (Note that SSH keys
are not stored in the registry so you will have to copy these manually if you have
any).
Simply double-click the .reg file to import it into your registry. It’s that simple!
How to Transfer / Migrate /
Import / Export PuTTY Session
List from Windows to Linux
pupuweb.com Follow Sep 30, 2018 · 2 min read
HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions
HKEY_CURRENT_USER\Software\SimonTatham
([Environment]::GetFolderPath("Desktop") + "\putty.reg")
regedit /i putty.reg
Note: do not replace SimonTatham with your username. Note: It will create a reg file on
windows-linux/