How to create a log file of your PuTTY session

This tutorial assumes you have already downloaded PuTTY and located its .exe

Double click the PuTTY icon to launch the application

Now let’s learn how to create a log file of your session

Then click Logging

The logging settings are listed here on the right. Let’s demonstrate how to save a log file to your desktop

Click All session output

Leave Putty.log as the log file name

Then click Browse to choose the save location

Ensure Desktop is selected here…

Then click Save

… then click Open to begin your session

Ensure ‘Ask the user every time’ is selected…

Type your username, then push Enter

Type your password, then push Enter

Now let’s type a simple shell command. PuTTY can log dozens of commands within your session

Type a simple test command here, then press Enter

Now type Exit, then push Enter to close PuTTY

We can see that a log file has been saved to the desktop

Now let’s open the log file… double click Putty

The log file contains all commands entered, great for saving your sessions to review at a later date

This is the end of the tutorial. You now know how to create a log file of your PuTTY sessions