1. Generate your SSH key. Leave passphrase empty (simply press enter):

ssh-keygen

2. Copy the key to the server where you want to login without using password authentication:

ssh-copy-id user@host.name.com