ssh-keygen -t rsa
Your keys will be created at ~/.ssh/id_rsa.pub and ~/.ssh/id_rsa
ssh-copy-id root@server-ip