How to start a SSH session from the command line

PuTTY Enhanced series

How to start a SSH session from the command line

This tutorial assumes you have already opened your powered by ausweb 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 download and install Putty

PuTTY Enhanced series

How to download and install Putty

This tutorial assumes you are using the Windows operating system, have https://ausweb.com.au/  opened your favorite web browser and browsed to Google.com

Now let’s learn how to download and install PuTTY

1) Type Download Putty in the Google search bar

2) Then click Google Search

3) Click Putty Download Page

4) You will be taken to the PuTTY Download Page. Scroll down to find the download links.

5) Click putty.exe to begin the download

6) Click Save File to save putty.exe to your computer

7) Then click Run to open PuTTY and get started

That’s it! You have successfully downloaded and launched PuTTY

8) To exit PuTTY, simply close the window

This is the end of the tutorial. You now know how to download and open Putty.

How to create a log file of your Putty session

PuTTY Enhanced series

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

How to open a Putty session and exit a session

This tutorial assumes you have already https://ausweb.com.au/web-hosting/cpanel-web-hosting/ 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

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