Listing 1. Example ssh-keygen Session
$ ssh-keygen
Initializing random number generator...
Generating p: ............++ (distance 186)
Generating q: ......................................++ (distance 498)
Computing the keys...
Testing the keys...
Key generation complete.
Enter file in which to save the key (/home/jdaily/.ssh/identity): <CR>
Enter passphrase: <CR>
Enter the same passphrase again: <CR>
Your identification has been saved in /home/jdaily/.ssh/identity.
Your public key is:
1024 35 718535638573954[...] jdaily@local
Your public key has been saved in /home/jdaily/.ssh/identity.pub
Copyright © 1994 - 2018 Linux Journal. All rights reserved.