You will want to generate a key pair for this purpose. You copy the public key to the remote machine, and use ssh-agent on the local machine to keep the private key authenticated. (Otherwise you will need to enter the key's passphrase to connect.) As fglock said, man ssh will provide you with plenty of information - Googling for ssh tutorial will also reveal a wealth of quickstart help.