Create the RSA Key Pair
The first step is to create the key pair on the client machine (there is a good chance that this will just be your computer):ssh-keygen -t rsa
Copy to Server
cat ~/.ssh/id_rsa.pub | ssh root@[your.ip.address.here] "cat >> ~/.ssh/authorized_keys"