# How to ssh to localhost without password

I did following 3 steps to create the password less login

1. `ssh-keygen -t rsa`
Press enter for each line 
2. `cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys`
3. `chmod og-wx ~/.ssh/authorized_keys`

## Note

 If your `~/.ssh/authorized_keys` was already existing and had correct permissions, (3.) is not needed, but also does no harm.
 