You must first create your pair of ssl keys in the local box (if they don't exist):
Code:
ssh-keygen -t rsa -b 1024 -P ""
Tranfer the file ~/.ssh/id_rsa.pub in the remote box and take a look under the root's home directory (usually /root). If there is a subdir named .ssh go in there and look for a file named authorized_keys. If it exists just copy the contents of id_rsa.pub in there. If not rename "id_rsa.pub" to "authorized_keys".
In the remote box you must enable sshd and edit it's config file (usually /etc/ssh/sshd_config). Find the line
and change "no" to "yes". After this restart sshd and try the command I gave you. If you want to use IP, run:
Good luck