Listing 4. Generating a public/private key pair with ssh-keygen is simple. Opt for using a passphrase for extra security. $ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/fkereki/.ssh/id_rsa): Created directory '/home/fkereki/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/fkereki/.ssh/id_rsa. Your public key has been saved in /home/fkereki/.ssh/id_rsa.pub. The key fingerprint is: 84:13:e6:07:a3:b1:b4:c6:9f:29:b8:40:58:f5:23:26 fkereki@fedoraxfce The key's randomart image is: +--[ RSA 2048]----+ | ..+ = | |.. o O = | |..E O * o | |. = o B | |. . . + S | | . . . | | . | | | | | +-----------------+