Generating the SSH Key Pair



The following procedure will generate two keys:

Generating the key pair

  1. Open a terminal session on your workstation, as the user who is going to make the SSH connections to the thin clients.
  2. Issue the following command:


  3. When prompted for the location to store the key pair in, you can:
    1. Hit return, which will accept the default file name ~/.ssh/id_rsa

    Using the default name may overwrite existing SSH key pairs!

    1. Enter an absolute file path and key file name of your choice.
  4. When prompted for a passphrase, you can
    1. Enter a passphrase (twice)

    A passphrase protects the private key file in case it gets into the hands of an attacker. On the other hand, it may be inconvenient to enter the passphrase for every connection.

    1. Hit return in order to use no passphrase.

    This increases convenience because you will be able to log in without entering the passphrase. However, it weakens security: The private key file will be unprotected if it gets into the hands of an attacker.

    Two files have been generated (default names):