Create RSA Keys

Syntax

ssh-keygen -t [encryption type]

Example

ssh-keygen -t rsa

Accept all defaults, this creates the two files below on the client. id_rsa is the private key, id_rsa.pub is the public key.
/home/$USER/.ssh/id_rsa.
/home/$USER/.ssh/id_rsa.pub.