Sunday 13, Apr 2025
We are moved to new domain
Click -> www.ehowtonow.com
Monday, 21 August 2017

ssh-keygen Linux Command

ssh-keygen


ssh-keygen [options]

Generate, manage, and convert authentication keys for ssh. When using ssh-keygen to create a key, the -t option must be specified to identify the type of key to create.

Options


-b bits
Specify the number of bits in the key. The minimum is 512, and the default is 1024.

-B
Show the bubblebabble digest (a digest represented as a string that looks like real words) for the private or public keyfile specified with -f.

-c
Change the comment in the private and public keyfiles (for RSA1 keys only).

-C comment
Specify the new comment.

-D reader
Download the RSA public key from the smartcard in reader.

-e
Read an OpenSSH private or public keyfile and write it in SECSH Public Key File Format to standard output for exporting to a commercial SSH.

-f file
Specify the filename of the keyfile.

-i
Read an SSH2-compatible unencrypted private or public keyfile and write an OpenSSH-compatible key to standard output. Used to import keys from a commercial SSH.

-l
Show fingerprint of public or private RSA1 keyfile specified with -f.

-N passphrase
Specify the new passphrase.

-p
Change the passphrase for a private keyfile. Prompt for the file, the old passphrase, and twice for the new passphrase.

-P passphrase
Specify the old passphrase.

-q
Operate in quiet mode.

-t type
Specify the type of key to create. Possible values of type are rsa1 for SSH1, and rsa or dsa for SSH2.

-U reader
Upload an existing RSA private key to the smartcard in reader.

-y
Read a private OpenSSH-format file and print a public key to standard output.

Shop and help us

Flipkart Offer Snapdeal offer Amazon.in offer Amazon.com offer

Related Posts:

  • ssh-keygen Linux Command ssh-keygen ssh-keygen [options] Generate, manage, and convert authentication keys for ssh. When using ssh-keygen to create a key, the -t option must be specified to identify the type of key to create. Options -b bits … Read More
  • Diff Linux Command diff diff [options] [diroptions] file1 file2 Compare two text files. diff reports lines that differ between file1 and file2. Output consists of lines of context from each file, with file1 text flagged by a < symbol and… Read More
  • SSH Linux Command ssh ssh [options] hostname [command] Securely log a user into a remote system and run commands on that system. The version of ssh described here is the OpenSSH client. ssh can use either Version 1 (SSH1) or Version 2 (SSH… Read More
  • man Linux Command man man [options] [section] [title] Display information from the online reference manuals. man locates and prints the named title from the designated reference section. Traditionally, manpages are divided into nine sect… Read More
  • Linux Commands Change Directory cd Linux Command Change Access Permission chmod Linux Command Accept Linux Command aclocal Linux Command mkdir Create directory Linux Command cp Copy Linux Command SCP Securely copy files between hosts on … Read More
  • Blogger Comments
  • Facebook Comments
  • Disqus Comments

0 comments:

Post a Comment

Item Reviewed: ssh-keygen Linux Command Rating: 5 Reviewed By: eHowToNow