Setup SSH Server use rsa key
1. Edit /etc/ssh/sshd_config
2. Restart ssh service
3. Generate new RSA key
ok
4. Add new public key to server
use ssh-copy-id
Ok done.
Now you can use RSA key to login server
5. Test
ssh -i /path/to/private key user@host -p portnum