Skip to main content

Posts

Showing posts from March, 2017

How to enable Auto login to servers using SSH

You can enable auto login to servers by generating private/public SSH keys. One way to generate key pairs is to use putty tools. Below I explain the process which is simple and easy to follow. STEP 1: First download below tools to your windows box. Putty.exe (the SSH and Telnet client itself) Puttygen.exe (an SSH authentication agent for PuTTY, PSCP, PSFTP, and Plink) Pageant.exe (a RSA and DSA key generation utility) STEP 2: Create your public key pair Open puttygen.exe by double clicking it Select “ SSH-2 RSA" if this radio button is not already selected. Change the "Number of bits in a generated key" to 2048. Click the Generate key. Make sure that you move around your mouse INSIDE the blank area continuously until the key is generated.Once completed proceed to next step. You will see public key value populated. Optional but enter your passphrase (kind of password) to protect your private key. Make sure that the passphrase is recorded som