lsh-keygen(1)

lsh-keygen1

Generates a keypair and write it on stdout.

Usage

lsh-keygen [OPTION ...]

Overview

CAUTION! The information in this manpage may be invalid or outdated. For authorative information on lsh, please see it's Texinfo manual (see the SEE ALSO section).

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.

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.

Diagnostics

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

Environment

LSH_YARROW_SEED_FILE may be used to specify the random seed file.

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.

Releases

11 releases since Debian 3.0 (Woody); the text changed 2 times.

  1. 3.0
  2. 3.1
  3. 4.0–12

--algorithm since Debian 3.1 (Sarge); --debug since Debian 3.1 (Sarge); --help since Debian 3.1 (Sarge); --quiet since Debian 3.1 (Sarge); --server since Debian 3.1 (Sarge); --trace since Debian 3.1 (Sarge); --usage since Debian 3.1 (Sarge); --verbose since Debian 3.1 (Sarge); --version since Debian 3.1 (Sarge); -? since Debian 3.1 (Sarge); -V since Debian 3.1 (Sarge).

-d until Debian 3.0 (Woody); -l until Debian 3.0 (Woody); -o until Debian 3.0 (Woody).

Reporting bugs

Report bugs to <[email protected]>.

Author

The lsh program suite is written mainly by Niels Möller <[email protected]>.

This man-page was written for lsh 2.0 by Pontus Freyhult <[email protected]>, it is based on a template written by J.H.M. Dassen (Ray) <[email protected]>.

From lsh-utils 2.1-13+b1 in Debian 12 (Bookworm). Parsed by carta from the page's man source.