What Will I Learn?
- You will learn how to remotely connect and use your Ubuntu Server's Terminal command line using PuTTY via SSH.
- You will learn how to remotely manage your Ubuntu Server using PuTTY without you being physically present in front of the server computer itself.
- You will learn how to install SSH on your Ubuntu Server
Requirements
- PuTTY (SSH and telnet client).
- SSH (Secure Socket Shell) - to be installed in Ubuntu Server later in this tutorial
- Ubuntu Server (I used 16.04.3 for this tutorial) - the computer that we are going to connect/remote.
- Windows computer - the computer that we are going to use to run PuTTY to remote the Ubuntu Server.
- Internet (for downloading PuTTY and SSH (server side installation))
Difficulty
- Intermediate
NOTE
You should know by now that Ubuntu Server doesn't have GUI or Graphical User Interface it looks like just a command prompt of a Windows computer that's we are going to install using it's Terminal command line.
Tutorial Contents
Step 1
Download PuTTY on your Windows computer by clicking this link then click Download it here https://www.chiark.greenend.org.uk/~sgtatham/putty/

Note
I used the standalone version of PuTTY for this tutorial. You may choose whatever you like.
Step 2
Install OpenSSH Server on your Ubuntu Server by running this command in the terminal
sudo apt install openssh-server or sudo apt-get install openssh-server just like the screenshot below. Wait for it to finish then proceed to Step 3

Step 3
Install OpenSSH Client on your Ubuntu Server by running this command in the terminal
sudo apt install openssh-client or sudo apt-get install openssh-cleint just like the screenshot below. Wait for it to finish then proceed to Step 4

Step 4
Open "PuTTY" in the client computer (Windows).
- In the
Host Name (or IP address)type the computer name of your Ubuntu Server - At the
Porttype22. The port 22 is the port number being used by SSH. - Choose
SSHby clicking it. - Click
Openif you are done.

Step 5
IMPORTANT: If a windows popped-up asking about keys just click yes of okay to proceed in connecting to you Ubuntu Server. Don't worry it is safe, it's just because you are connecting to the server for the firs time.

Step 6
After clicking Open in Step 3 you will be greeted with the login of your Ubuntu Server, just type your Ubuntu Server username and password then press enter.

Step 7
If your login is successful you'll be greeted just like the screenshot below. That's it, you are now connected remotely with your server. You can now manage and run commands remotely with your server or do whatever you want now as if you are sitting in front of the computer.

Try to ping google.com by typing ping google.com to see it in action.

Posted on Utopian.io - Rewarding Open Source Contributors
This post has received a 0.14 % upvote from @drotto thanks to: @banjo.
Your contribution cannot be approved because it does not follow the Utopian Rules.
You can contact us on Discord.
[utopian-moderator]