Step 1: Create public and private keys using ssh-key-gen on local-host
tejas@local-host$ [Note: You are on local-host here]
tejas@local-host$ ssh-keygen Generating public/private rsa key pair.
Enter file in which to save the key (/home/tejas/.ssh/id_rsa):[Enter key]
Enter passphrase (empty for no passphrase): [Press enter key]
Enter same passphrase again: [Pess enter key]
Your identification has been saved in /home/tejas/.ssh/id_rsa.