Setting up PuTTY
Manual - How to connect to the server via SSH on windows
SSH, is a protocol used to remotely and securely connect to any computer. Windows still does not provide a built-in SSH command. The most popular and most recommended solution for
connecting to SSH servers is an open source third party application called PuTTY. Using the SSH protocol, a cryptographically secured connection to a server can be set up after, which it is possible to execute commands on that system remotely.
PuTTY
Download and launch PuTTY to get started. Download PuTTY from the link below:
https://www.chiark.greenend.org.uk/~sgtatham/PuTTY/latest.html
Install the version that matches the operating system; 32-bit or 64-bit.
Create a passphrase
It is also necessary to create a passphrase of at least 4 words, which you will need later. This can be created on various websites, such as https://www.useapassphrase.com for example.
PuTTYgen
Open Windows Start and search for PuTTYgen. If not downloaded with PuTTY yet, download PuTTYgen now, this program is for generating private and public keys. PuTTYgen can be downloaded from the following link:
https://www.ssh.com/ssh/PuTTY/windows/PuTTYgen
When you have finished installing, open the program and click "Generate" which will generate the public and private key. Actively move the cursor to advance the process. In this screen it is also possible to enter the unique key passphrase that has just been created. When the passphrase has been entered, confirm with "Confirm passphrase" Save both keys in a file on the computer by clicking on "save public key" and "save private key" (you will need this again later). Make sure that no one else can view the private key!
Back to PuTTY
Now open the program PuTTY, using Windows Start -> PuTTY. Add add the private key you have just generated with PuTTYgen, do this by:
Click on the "connection" menu on the left side of the screen, then the "ssh" option and finally "auth". Add the private key here, using Browse .. and select the file with the private key previously saved from PuTTYgen.
You will send the public key once to the server administrator. Go back to the "session" menu. Enter the host name or IP address of the SSH server in the "Host Name (or IP-address)" box. This is:
117.204.107.243
Make sure that the port number in the "Port" box matches the port number that the SSH server needs. SSH servers use port 22 by default, but servers are often configured to use different port numbers instead. Click on "Open" to connect.
You will see a security warning when you try to connect to a server for the first time. This indicates that you have not previously been connected to this server. This is to be expected, so click "YES" to continue.
The terminal
Note: You can start the terminal window in Windows by pressing the Windows start button, then type cmd and press Enter. You will now see the terminal window.
Now you will be asked to enter the username and password for the account on the SSH server in the terminal. You will receive the username and password from the server administrator. These can be entered after "Login in as:" & "username password:".
You may see a security warning, when you try to connect to a server for the first time. This indicates that you have not previously been connected to this server. This is to be expected, so click "YES" to continue.
If everything went well, you could now execute commands on the server.
References