Auto Login to Ubunutu machine from windows using putty
1. Login to ubuntu machine
2.
ssh-keygen -t rsa ( dont enter any passphrase)
public and private key would be generated in ~/.ssh. id_rsa and id_rsa.pub.
3. Copy id_rsa.pub to ~/.ssh/authorized_keys
4. Uncomment the line Authorized_key in /etc/ssh/sshd_config
5. service ssh restart
4. Copy id_rsa to windows machine
5. Download putty-keygen
6. Load the copied id_rsa into putty-keygen and save as private key
7. Open putty and load the private key.