Using SSH without password
Generate a pair of keys in the local machine:
ssh-keygen -t rsa
Add public key to server's .ssh/authorized_keys file:
cat ~/.ssh/id_rsa.pub | ssh user@server 'cat >> .ssh/authorized_keys'
Try to connect to server again:
ssh user@server