How to create a log file of your Putty session

PuTTY Enhanced series

6. How to create a log file of your Putty session

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

1) Double click the PuTTY icon to launch the application

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

2) Click Logging

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

3) Click All session output

4) Leave Putty.log as the log file name

5) Then click Browse to choose the save location

6) Ensure Desktop is selected here…

7) Then click Save

8) Ensure ‘Ask the user every time‘ is selected… then click Open to begin your session

9) Type your username, then push <Enter>

10) Type your password, then push <Enter>

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

11) Type a simple test command here, then press <Enter>

12) Now type Exit, then push <Enter> to close PuTTY

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

13) 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

How to open a Putty session and exit a session

PuTTY Enhanced series

3. How to open a Putty session and exit a session

This tutorial assumes you have already downloaded PuTTY and located it on your desktop

Now let’s learn how to open PuTTY, configure the server connection settings for SSH, and launch the command line

1) Double click the PuTTY icon to launch it

This is the PuTTY default screen. This tutorial will show how to enter your connection settings to connect via SSH with Port 22.

2) Enter the main server IP into the Host Name field.

The Port number is shown here

3) Select the connection type here

4) Then click Open

This is the PuTTY command line. Before you begin, you will need to log into the server

5) Type your username here, then press <Enter>

6) Next, type in your password, or right-click to paste it

You are now logged into your server via SSH with PuTTY. You can view what IP last logged in, and on what date. From here you can run dozens of commands to manage your server.

7) To exit, simply type Exit here, then push <Enter>…

8) Or simply close the window

This is the end of the tutorial. You now know how to log into your server using SSH with PuTTY

How to start Putty in a maximized window

PuTTY Enhanced series

5. How to start Putty in a maximized window

This tutorial assumes you have located PuTTY, and starts from your desktop

Now let’s learn how to start Putty “maximized” so the command line window is as large as possibe

1) Right click the PuTTY icon

2) Then click Properties

3) Once the Properties window is open, be sure the Shortcut tab is selected

4) Click Normal Window

5) Then select Maximized

6) Click Apply

7) Then click OK

This is the end of the tutorial. You now know how to configure PuTTY so it launches in a maximized window

How to load, save or delete server connection settings in Putty

PuTTY Enhanced series

4. How to load, save or delete server connection settings in Putty

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

Now let’s learn how to load, save or delete server connection settings

1) Double click the PuTTY icon to launch the application

2) First let’s learn how to save connection settings

3) Type the server IP address here

4) Type a saved session name here

5) Then click Save to save the settings

We can then proceed to connect to our server

6) Now let’s say we want to load a saved connection setting… let’s open PuTTY again

7) Choose the saved connection setting you want…

8) … then click Load. You will notice your server connection settings are now shown here

We can then proceed to connect to our server

9) To delete a saved session, first select the session name you want to delete here

10) Then click Delete

11) To exit PuTTY, simply close the window

That’s it! The saved session has been removed from the list

This is the end of the tutorial. You now know how to load, save and delete server connection settings

How to change the bell style and settings in PuTTY

PuTTY Enhanced series

12. How to change the bell style and settings in PuTTY

A terminal bell is a sort of notification produced by an SSH server when some things happen or appear, such as an error message or global announcement

By default, PuTTY will use the Windows system ding whenever it’s told to signal a bell. This can sometimes be annoying, especially if something’s triggering the bell repeatedly

To change the bell style and settings, first choose a saved session from the menu

1) Click Load

2) Then, go to Bell

3) First, you can set the style of the terminal bell

4) Let’s change ours to Visual bell, which will cause the window to flash instead of making a sound

You can also change it to None to disable the bell completely, force it to beep using the PC speaker, or choose a custom sound file to play

Next section. With the buttons above, you can make the taskbar and window title notify you if you receive a bell when the window is not in focus

Flashing will cause the taskbar to blink, whereas Steady will display a solid color

The bottom section allows you to disable the bell temporarily when over-used, as defined by the settings. The defaults here should work fine

5) Return to the Session panel

6) Be sure to Save your session, or else the settings won’t stick

Then, let’s test out the bell

7) Log in

One way to trigger a bell is by pressing Backspace at the beginning of a line

The window will flash momentarily to represent a bell signal

This tutorial is now complete. You now know how to change the bell style and settings in PuTTY