• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

ssh-keygen

ssh-keygen

ssh-keygen Generates authentication keys.
ssh-keygen [-dq] [-b <bits>] [-N <new_passphrase>]
 [-C <comment>] [-f
<output_keyfile>]

ssh-keygen -p [-P <old_passphrase>] [-N <new_passphrase>] [-f
<keyfile>]

ssh-keygen -x [-f <input_keyfile>]

ssh-keygen -X [-f <input_keyfile>]

ssh-keygen -y [-f <input_keyfile>]

ssh-keygen -c [-P <passphrase>] [-C <comment>] [-f
									<keyfile>]

ssh-keygen -l [-f <input_keyfile>]

ssh-keygen

-d Creates a DSA key for SSH2 protocol.
-q Quiet mode. Used by /etc/rc when creating a new key.
-b <bits> Specifies number of bits in the key to create. Minimum is 512. Default is 1024. Key sizes greater than that are considered to improve security little but make things slower.
-N <new_passphrase> Specifies a new passphrase.
-C <comment> Specifies a comment.
-f <keyfile> Specifies the filename of the key file.
-p Changes the passphrase of the private key. Asks for the filename of the private key, the old passphrase, and a new passphrase.
-P <old_passphrase> Specifies the old passphrase.
-x Reads a private OpenSSH keyfile and outputs an SSH2-compatible keyfile to standard output.
-X Reads an unencrypted SSH-compatible private (or public) key file and prints an OpenSSH compatible private or public key to standard output.
-y Reads a private OpenSSH DSA format file and prints an OpenSSH DSA public key to standard out.
-c Requests changing the comment in the public and private key files. Asks for the file containing the private keys, the passphrase, and the new comment.
-l Shows the fingerprint of the specified public or private key file.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint