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