If you need to generate an SSH key pair, this is the command line:
$ ssh-keygen -t rsa
Copy the file (if you used the default path) from ~/.ssh/id_rsa.pub to the remote system's 'authorized_keys' file.