pfg@srv3:/$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/pfg/.ssh/id_rsa):
Created directory '/home/pfg/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/pfg/.ssh/id_rsa.
Your public key has been saved in /home/pfg/.ssh/id_rsa.pub.