How to Export and Import PuTTy Sessions List
Thank to: https://stackoverflow.com/
Method 1:
PuTTY – PuTTY is a terminal emulation application which helps connecting to your networking devices via different networking protocols for example: telnet, SSH, Rlogin etc. You can use PuTTY to connect networking devices via serial port too. PuTTY saves the session information in Windows registry. We are going to discuss how to transfer PuTTY sessions from one PC to another in this post.
The picture below shows the saved PuTTY sessions ( Firewall 1, Switch 1, Switch 2, Switch3, Switch 4)
TRANSFER PuTTY SESSIONS FROM ONE PC TO ANOTHER
EXPORT PuTTY SESSIONS
- Launch the registry
START —> RUN —> type REGEDIT.EXE - Browse the below registry location:
“Computer\HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions” - Right click on Sessions and select Export
- Assign a filename and save it
IMPORT SAVED PUTTY SESSIONS TO ANOTHER PC
- Transfer\move the saved “putty sessions.reg” file to the desired Windows machine. Double click on the file and you will find below message. Hit YES to accept the message.
- Finally, another message will appear and hit OK
After following the above procedure you will find the same sessions on the new computer as well.
Method 2:
Export
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
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
Double-click on the *.reg
file and accept the import.
Alternative ways:
cmd.exe
, require elevated command prompt:
regedit /i putty-sessions.reg
regedit /i putty.reg
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.
free zip password recovery software
ResponderEliminar