PuTTY is a free command line tool and software application for Windows 95, 98, XP, Vista, and 7 & 8 which can be used to make an SSH connection to your server. You can download the application (download putty.exe or putty.zip) at http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html. PuTTY comes bundled with command-line SCP and SFTP clients, called "pscp" and "psftp" respectively.
Your server might be located thousands of miles away from you. However, with the help of a couple of programs, you can connect to it as if it were in front of you. And most importantly, all of these programs allow you to connect safely to your server through what is called 'SSH'.
SSH (Secure Shell) is a network protocol used for secure data communication between a server and a client (You) to perform (for example: command-line login and authentication, remote command execution, and even data transfer). So in order to keep the communication between you and a server secure from the preying eyes of hackers, there are programs that implement SSH protocols mainly by using strong encryption methods to help you achieve that
To establish communication between a client and a server, you must have SSH program on each communicating end. Hence come OpenSSH and PuTTY, which are only two SSH programs from several others. OpenSSH is the most popular and most widely used SSH program that comes shipped with Ubuntu Operating system. You do not need to install it. PuTTY is the most popular SSH program in Windows OS. You need to install Putty on your Windows PC. In this tutorial, I will explain how to use them correctly in order to communicate securely with your server.
Since OpenSSH is already installed on our server, you only need to install PuTTY before you can connect to your server. Go to PuTTY's official download page from here and download the installer file which looks like [putty-x.xx-installer.exe]. After downloading it, install as you would install any Windows program; just make sure to install it only for the current user, especially if your PC is used by many users. Once the install is finished, launch PuTTY and a configuration window will appear to you
Since you are finally connected securely to your sever, it is safe now to send your login credentials through the SSH encrypted connection. You can get your primary login credentials from the email that you have received once the droplet is created. The picture below shows a terminal command line where you are going to enter your username in the line that says
login as:, then hit
Enter, then a new line will appear asking for your password, type it and hit
While entering your password, you will notice that the cursor in the command line is not moving or displaying any asterisk. Don't worry even though nothing seems to appear on the command line as you type, every key you press on your keyboard is actually being entered and sent to your server. And that's the default behavior in all Linux distro regarding password submission.
You will know that the client authentication process was successful when the terminal shows you brief information about the Linux distribution that is installed on your server, information about the last time you logged in, and the last line is where all the magic happens and it's called the 'Command or Prompt line', and its structure is similar to the following:
username@hostname:~# "example: root@host123:~#"
The first part indicates the username that you are currently logged in as then the host name, separated by the '@' symbol, followed by your current directory (in this example
~, which refers to current user home directory) and the hash sign indicates the end of command line.
So you are now connected to your server.