Exporting and Importing the Putty SSH configuration sessions in Windows 1

Exporting and Importing the Putty SSH configuration sessions in Windows

Exporting and Importing the Putty SSH configuration sessions in Windows

i know for many admins migrating or transferring the 100s of SSH,telnet or sftp configuration made on putty i hard.

There are few easy steps for migrating or transferring the putty sessions configurations.
Method 1 :
Using the regedit.exe

click start and type >> regedit.exe and press enter.
Expand it to >> HKEY_CURRENT_USER\Software\earneasy\PuTTY\Sessions

as shown below
regedit-export-key-putty
Few lines of the sessions.reg file will like as below.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\earnesay\PuTTY\Sessions]

[HKEY_CURRENT_USER\Software\earneasy\PuTTY\Sessions\Default%20Settings]
"Present"=dword:00000001
"HostName"=""
"LogFileName"="putty.log"
"LogType"=dword:00000000
"LogFileClash"=dword:ffffffff
"LogFlush"=dword:00000001
"SSHLogOmitPasswords"=dword:00000001
"SSHLogOmitData"=dword:00000000
"Protocol"="ssh"

Now, transfer the exported putty-sessions.reg file to the new system and just double click.
You will be shown message as below, just click Yes to import the data.
putty-sessions-import

That’s all, all the saved, SSH, sftp, TELNET configurations on the Windows Pc will be imported into the new system.

On the
Method 2 :
Use the command prompt and type

regedit /e "%userprofile%\desktop\putty-session.reg" HKEY_CURRENT_USER\Software\earne\PuTTY\Sessions

regedit /e will simply export all settings to the file putty-session.reg

You know the rest,
If you need any clarifications, just drop in a comment, I will be happy to reply you.

 

Comments

This site uses Akismet to reduce spam. Learn how your comment data is processed.