Export PuTTY settings (or sessions) from a Linux to another Linux

Posted on

Problem :

I’ve been searching the internet for an answer for this question, but I found only answers for exporting from a Windows to another (using regedit).

Is it possible to export PuTTY sessions from a Linux machine to another and how to do that?

Solution :

You can find the sessions under (where ~ represents the user’s home directory):

~/.putty/sessions/

Each session is a file in that directory, so you can copy the whole directory, or just individual sessions.

EDIT: Private key files, if used, are not stored within the session files, so they will also need to be copied from their original location.

Leave a Reply

Your email address will not be published. Required fields are marked *