When using PuTTY, a popular Windows SSH and telnet client for secure remote connections to Linux servers and other network devices, it's critical to think about how to recover text or command output from a prior session, especially after leaving the PuTTY window. When reopened, PuTTY does not retain the whole session history by default. However, there are tactics and features that users can use to ensure that relevant information is retrieved.
To recover text from a previous PuTTY session, the output must have been saved or logged during the session. By default, PuTTY does not save the whole session history. Here are some measures to take:
PuTTY log files:
To save your session data before closing PuTTY, go to the "Session" tab in the PuTTY configuration window and change the "Logging" settings. You can save the session output to a file if you want.
By following this procedures, you may effectively ensure that important information from your PuTTY sessions remains available and retrievable even when the PuTTY window is closed. This is a useful technique for reviewing and referencing previous sessions.
You can also download the file by using PuTTY form remtoe server.
Top comments (0)