How to start a SSH session from the command line

PuTTY Enhanced series

8. How to start a SSH session from the command line

This tutorial assumes you have already opened your Windows command line

Now let’s learn how to start a SSH session from the command line

1) Type the path to Putty.exe here

2) Then type the connection type you wish to use (i.e. -ssh, -telnet, -rlogin, -raw)

3) Type the username…

4) Then type ‘@‘ followed by the server IP address

5) Finally, type the port number to connect to, then press <Enter>

A PuTTY session has now been opened

This is the end of the tutorial. You now know how to start a PuTTY session via command line

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

How to copy and paste to and from a PuTTY window

PuTTY Enhanced series

9. How to copy and paste to and from a PuTTY window

It may not be obvious to you, but it is possible to copy and paste to and from a PuTTY window. This tutorial will show you how to do that

Copying and pasting in PuTTY is very easy, but different from the way it’s done in most other programs

1) You’ll need to be logged in to a PuTTY session before you begin

2) All you have to do is left click and drag to make a selection

As soon as you let go of the mouse button, the selection is instantly copied to your clipboard and ready to be pasted

3) Simply click off of the selection to deselect it

4) Now, let’s paste the selection into another window. For this tutorial, we’ll just use a Notepad window that we already have open

5) Right click, then Paste

The selection has been copied and pasted successfully

Now, let’s try copying and pasting an SSH command we’ve stored in a different Notepad window

6) Right-click and Copy

7) Return to PuTTY

8) Simply right-click to paste

9) Press Enter to execute the command

You can also select and copy a rectangular region in PuTTY. For our purpose, this is useful to copy just the filenames in this directory listing

10) Hold down ALT, then click and drag from the top left corner to the bottom right

11) Switch back to Notepad

12) Press CTRL+V to paste

The rectangular region you copied has been pasted successfully

This completes the tutorial. You should now know how to copy and paste to and from PuTTY

How to change character settings in Putty

PuTTY Enhanced series

2. How to change character settings in Putty

This tutorial assumes you have already opened PuTTY

Now let’s learn how to change the character settings

1) Click Translation

2) Then click here to show the character set drop down

3) Now select the character set you’d like to use. Be sure your computer supports the character set

4) Click Session to save the new settings

That’s it! The character set has been changed and saved

This is the end of the tutorial. You now know how to change the character settings in PuTTY