Getting Started with SSH
Chapters
In this short course we will explore what SSH is. This course is split into multiple parts such as
- Introduction to SSH
- Generating a Key Pair to make connections
- Accessing remote servers using SSH client
- Various scenarios SSH can be used in
- Installing SSH server
Primary objective of this course is to get you up and running with SSH.
We hope that you will enjoy this short course.
Author: Subject Coach
Added on: 4th Jan 2015
Please get in touch with your teacher or tutor in case you have a question related to this lesson
None just yet!
When you want to access your Linux machine from your windows machine, you have to download an additional software called Putty.
Putty is implementation of SSH client for windows implemented by Simon Tatham. To get putty, goto google.com and search for putty. Click on the download link, this will take you to putty download page. Click on putty.exe link and putty will be downloaded on your machine. Move it to a different folder, such as tools under C drive.
You can also use putty installer if you wish. You can right click on the exe file and pin it to start menu or task bar for quick access.
Double click to open the software. We will need to either fetch host name or host IP address, this is the machine we are connecting to.
Let's get IP address for my virtual machine.
I will open terminal and run a command called ifconfig.
I will now get inet address, this is a static IP assigned by me to this virtual machine.
I will now copy this IP address into Host IP field in putty, SSH runs on default port 22, we will leave this as it is.
I will now save this information as a saved session so that I can connect to this server quickly next time I wish to connect.
Putty will show a security alert when you connect to a machine for the first time. You can click yes to continue.
Type your username and press enter.
Type in your password and press enter.
If you typed your username and password correctly, This will then open up a Secure session with your server.
You are now able to run commands. You can also run commands as super user, we will cover that in later chapter.
In next chapter I will show you show you can open a ssh session from a Linux machine to the same server.