logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

lsh-keygen - Generates a keypair and write it on stdout.

Author

       The lsh program suite is written mainly by Niels Möller <nisse@lysator.liu.se>.

       This man-page was written for lsh 2.0 by Pontus Freyhult <pont_lsh@soua.net>, it is based on  a  template
       written by J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl>.

Copying

       The  lsh  suite  of  programs  is  distributed  under the GNU General Public License; see the COPYING and
       AUTHORS files in the source distribution for details.

Description

CAUTION!Theinformationinthismanpagemaybeinvalidoroutdated.Forauthorativeinformationonlsh,pleaseseeit'sTexinfomanual(seetheSEEALSOsection).

       Generates a new private key for the desired algorithm and security level and write it on stdout.

       You will usually want to pipe the new key into a program like lsh-writekey, to split it into its  private
       and public parts, and optionally encrypt the private information.

Diagnostics

       See the --log-file , --verbose , --trace and --debug options.

Environment

LSH_YARROW_SEED_FILE may be used to specify the random seed file.

Name

       lsh-keygen - Generates a keypair and write it on stdout.

Options

-a, --algorithm=Algorithm
              DSA or RSA. Default is to generate RSA keys

       -l, --nist-level=Security level
              For  DSA keys, this is the NIST security level: Level 0 uses 512-bit primes, level 8 uses 1024 bit
              primes, and the default is 8. For RSA keys, it's the bit length of the modulus, and the default is
              2048 bits.

       --server
              Use the server's seed-file

       --debug
              Print huge amounts of debug information

       --log-file=File name
              Append messages to this file.

       -q, --quiet
              Suppress all warnings and diagnostic messages

       --trace
              Detailed trace

       -v, --verbose
              Verbose diagnostic messages

       -?, --help
              Give this help list

       --usage
              Give a short usage message

       -V, --version
              Print program version

       Mandatory or optional arguments to long options are also mandatory  or  optional  for  any  corresponding
       short options.

Reporting Bugs

       Report bugs to <bug-lsh@gnu.org>.

See Also

DSA(5),  lsh(1),  lsh-authorize(1),  lsh-decode-key(1),  lsh-decrypt-key(1), lsh-export-key(1), lsh-make-seed(1), lsh-upgrade(1), lsh-upgrade-key(1), lsh-writekey(1), lshd(8), secsh(5),  SHA(5),  SPKI(5),  ssh-conv(1)

       The  full  documentation  for  lsh  is  maintained as a Texinfo manual.  If the info and lsh programs are
       properly installed at your site, the command

              infolsh

       should give you access to the complete manual.

LSH-KEYGEN                                        NOVEMBER 2004                                    LSH-KEYGEN(1)

Synopsis

lsh-keygen [OPTION...]

See Also