Migrate PuTTY saved sessions
PuTTY stores its session information in the registry, and there’s no function in PuTTY itself to import/export sessions. This makes moving to a new computer a little sticky. I did some googling and whittled down the documentation for storing configuration in a file into a few steps:
- On the old computer, open up a command prompt (not cygwin), and run:
regedit /ea new.reg HKEY_CURRENT_USER\Software\SimonTatham\PuTTY - Copy new.reg onto the new computer
- On the new computer, open up a command prompt (not cygwin), and run:
regedit /s new.reg
Done!
Joshua Bloom said,
March 29, 2007 @ 1:27 pm
Hey Ryan,
http://socialistsushi.com/portaputty This guy has hacked Putty to store its settings in the filesystem. It creates a folder .putty and stores each of your saved sessions in a separate text file. You can even duplicate and update the files with an editor if you’ve got a change to make across all your sessions.
-Josh
Vibrant Journey » PuTTY Migration said,
April 12, 2007 @ 1:11 pm
[...] It is always nice to have 24hour support available online. I’m migrating to a new computer and needed to migrate my PuTTY (an SSH client) configuration. There is no built in way to do it, but you can get the settings out of the registry. Ryan’s Tech Blog has the short list of instructions. [...]
shahrul said,
August 13, 2007 @ 12:15 am
salute to you my brother…it’s work….im having hundreds of saving session…all migrated..yahooooooooo
Big Bill's Rantings » Migrate PuTTY saved sessions said,
November 15, 2007 @ 12:08 pm
[...] I was moving Things around on my Work Laptop. Things like VMWare Sessions/Operating Systems and Pieces to/from VMWare Sessions. When I came across the PuTTY Software and decided to move it. I had several different session configurations set up in PuTTY. How was I to move all of those since they are kept in the registry and now way to export them in PuTTY?? By hand?? Surely someone has come across this before. Remember, Google is your friend. Someone had. Thanks Ryan who runs Ryan’s Tech Blog. Who had this to say: Migrate PuTTY saved sessions [...]
Пренасяне на запазените сесии на PuTTY на друг компютър | Блогът на Гонзо said,
January 15, 2008 @ 12:43 pm
[...] но PuTTY пази настройките в регистрито. Намерик кратко описание, но не знам защо командата за експорт не свърши работа [...]
Tracy Sedgwick said,
March 28, 2008 @ 6:16 pm
Thanks so v. v. much – you just saved me lot of time not having to recreate all my saved sessions
Ken Woodward said,
May 24, 2008 @ 1:45 pm
Thanks Ryan.
That was very helpful!
Shan Shanmuganathan said,
June 27, 2008 @ 12:50 pm
Thank you. Made my life easier.
Mahesh said,
July 13, 2008 @ 3:20 pm
Saved me lots many hours :). Thanks mate
Narendra said,
July 19, 2008 @ 5:26 am
You can add the reg file more easily by right click the merge option
Satheesh Kumar said,
August 3, 2008 @ 10:59 pm
That works…Thanks
Christian Killer’s Blog » Blog Archive » PuTTY: Saved Sessions auf neuen Rechner übernehmen said,
September 9, 2008 @ 4:30 am
[...] Original Beschreibung (englisch) von Ryan’s Tech Blog [...]
Sachin Pendse said,
June 1, 2009 @ 9:00 am
Saved my time as well.
Thanks
Sachin Pendse
Vlad said,
June 18, 2009 @ 8:23 am
Beautiful. Thanks a bunch !
Migrate PuTTY saved sessions « Db2dude’s Blog said,
August 4, 2009 @ 5:31 am
[...] stored its settings in the registry, and there is no builtin import/export functionality. Thanks to Ryan’s Tech Blog I now have a simple solution to the [...]
Joe Shelby said,
August 21, 2009 @ 4:05 pm
tragically, while this works for moving from one machine to another, it doesn’t work if you end up having to create a new account on the same machine thanks to your IT guys doing a domain switch. the binary data in the registry is useless to me.
Juank said,
August 21, 2009 @ 4:44 pm
Hi Buddy. It was so easy.
Thanks a lot.
jim said,
October 29, 2009 @ 7:18 pm
so slick. thanks a bunch. worked like a champ!
Charles said,
January 25, 2010 @ 10:06 am
So easy. Thanks for saving me an hour of typing
andy said,
February 20, 2010 @ 4:05 am
dankz!
carlox said,
March 24, 2010 @ 6:38 pm
Thanks man, You really saved us time
Mano said,
March 25, 2010 @ 11:22 am
Great !!!!!!!!!!!
evt said,
April 20, 2010 @ 1:57 pm
Awesome!!! Restores faith in the mankind along with the settings. Thanks Ryan, many hugs and kisses.
Jose said,
May 17, 2010 @ 6:55 pm
Worked like a charm!
(Although putty should save its config to a file by default…)
sa said,
July 15, 2010 @ 1:39 am
That worked man ..!!
RJ said,
August 5, 2010 @ 6:23 pm
Me too: Awesome!!! Restores faith in the mankind along with the settings. Thanks Ryan.
But no “hugs and kisses.”, just .. You the man !! :)
Craig A said,
August 10, 2010 @ 11:19 am
Thanks very much for this. It works for copying between Windows user profiles too.
SB said,
August 19, 2010 @ 1:16 am
Excellent… it works…Nothing to be scared abt :)