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:

  1. On the old computer, open up a command prompt (not cygwin), and run:

    regedit /ea new.reg HKEY_CURRENT_USER\Software\SimonTatham\PuTTY

  2. Copy new.reg onto the new computer
  3. On the new computer, open up a command prompt (not cygwin), and run:
    regedit /s new.reg

Done!

11 Comments »

  1. 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

  2. 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. [...]

  3. 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

  4. 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 [...]

  5. Пренасяне на запазените сесии на PuTTY на друг компютър | Блогът на Гонзо said,

    January 15, 2008 @ 12:43 pm

    [...] но PuTTY пази настройките в регистрито. Намерик кратко описание, но не знам защо командата за експорт не свърши работа [...]

  6. 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

  7. Ken Woodward said,

    May 24, 2008 @ 1:45 pm

    Thanks Ryan.
    That was very helpful!

  8. Shan Shanmuganathan said,

    June 27, 2008 @ 12:50 pm

    Thank you. Made my life easier.

  9. Mahesh said,

    July 13, 2008 @ 3:20 pm

    Saved me lots many hours :). Thanks mate

  10. Narendra said,

    July 19, 2008 @ 5:26 am

    You can add the reg file more easily by right click the merge option

  11. Satheesh Kumar said,

    August 3, 2008 @ 10:59 pm

    That works…Thanks

RSS feed for comments on this post · TrackBack URI

Leave a Comment