Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 to another and how to do that? Thank you!

share|improve this question
up vote 7 down vote accepted

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


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.

share|improve this answer
Thank you very much for the prompt and clear answer! The server I'm using is actually down now so I can not test this right now but will it grant me the same access I had in my other linux installation? – pr.nizar May 5 '13 at 1:10
I'm not sure what you mean by "same access". When you copy the sessions from one computer to another, the sessions on the new computer will have all of the same settings as on the old one. I've added a note about coping private keys. – depquid May 5 '13 at 21:30
Helped us fix Jenkins not being able to use SCP, whereas root could. – Buffalo Sep 10 '15 at 11:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .