About SSH keys:
Use of SSH keys favors a very boosted form of security against the brute forces attacking a virtual private server. Use of passwords, independent of their complex nature is always vulnerable towards security threats. SSH keys provides a whole new level of security which is safe and impregnable. SSH keys are basically generated in pairs (i.e public key and a private key). One can associate the public key with any server, and only the client in possession of the private key can have access to the decrypted data.
The data gets decrypted only when the two keys exactly match. This primitive approach of SSH makes it almost impossible to be deciphered by the brute forces. SSH keys also provide an auxiliary security measure, using which a passphrase can be affiliated with the private key which will require the user to enter the passphrase for accessing the private key.
Note: The private key is to be safeguarded and should never be revealed unlike the public key. For setting up the SSH key based security from your windows machine, you will be needing the PuTTy tool for generating the keys. You can download the putty tool from here.
Step 3: Click the Generate Button.
Step 4: Move the mouse pointer randomly within the blank area of the Key section, below the progress bar (to generate some randomness) until the progress bar is full.
Step 4: The puttygen should now generate a public key and a private key.
Step 5: Key comment: In this field enter any comment you'd like. This will help you in identifying this key pair, later (e.g. your e-mail address; home; office; etc.) -- the key comment is particularly useful when you generate multiple keys on a same machine.
Step 6: Enter a passphrase in the Key passphrase field and enter the same passphrase in the Confirm passphrase field.
As mentioned above, a Passphrase is a recommended security measure provided for securing the private key. If the user do not want to opt the passphrase measure, then the user can ignore it by leaving it blank.
Use of a passphrase does elevates the level of security. Since the whole concept of SSH is to facilitate security and to safeguard the data from unauthorized accessing. We recommend the use of a passphrase every time you generate the SSH keys.
Step 7: Click Save public key, and enter a name for the public key.
Step 8: Click Save Private key, and enter a name for the same. Private key is not to be shared and hence save it in a very secure location.
Step 9: Public key for pasting into OpenSSH authorized_keys file: Copy the content present in the Public key for pasting into OpenSSH authorized_keys file on the top. Right click and then click select all and copy the whole content.

Note: Before using the command for pasting the public key, make sure that you have already installed the Vim Text editor on your cloud. If you haven't, then enter a command based on your server's OS from the below mentioned commands. For CentOs and Fedora:mkdir ~/.ssh chmod 0700 ~/.ssh touch ~/.ssh/authorized_keys chmod 0644 ~/.ssh/authorized_keys
For Ubuntu and Debian:sudo yum install vim
For Arch Linux:sudo apt-get install vim
This will install the Vim Text Editor to your server. Step 2: Paste the SSH public key into your ~/.ssh/authorized_keys file by using the following command:sudo pacman -S vim
Step 3: Tap the I key on your keyboard to enter the Edit mode. Hold Ctrl+Shift+V or use the right click method to paste the private key. Step 4: Save the private key by tapping the below mentioned keys in the given order:sudo vim ~/.ssh/authorized_keys
This will save the private key to your server and this step completes the process of SSH based authentication between your server and your personal computer.Esc
:
wq
Enter