There's plenty of tuts on the internet on how to log to a remote server through ssh without having to type your password each time. For example, this one is very good for beginners!

Just for me and those who don't remember the commands, here is a summary of what to do...

# generate key
$ ssh-keygen -t rsa

# press enter to accept and then
$ cat ~/.ssh/id_rsa.pub | ssh userName@RemoteServer "mkdir -p ~/.ssh && cat >>  ~/.ssh/authorized_keys"

Connect to the remote server and check if the key is there with cat ~/.ssh/authorized_keys.

Hope it helps! :)