LSH-KEYGEN(1)

πŸ’– LSH-KEYGEN(1) πŸ’–

okay so bestie, you found the page for lsh-keygen β€” part of the Lsh Manuals crew. Sit down, grab a strawberry πŸ“, and let's make you a whole entire keypair.


✨ NAME ✨

lsh-keygen β€” generates a keypair and writes it on stdout. that's it, that's the whole job πŸ’…


✨ SYNOPSIS ✨

lsh-keygen [OPTION...]

✨ DESCRIPTION ✨

CAUTION! The info in this manpage may be invalid or outdated, no cap. For the authorative tea on lsh, go read its Texinfo manual (the SEE ALSO section has the receipts).

So here's the vibe: lsh-keygen generates a brand-new private key for whatever algorithm and security level you want, and writes it straight to stdout. 🌈

And like, usually you don't just let it sit there β€” you'll want to pipe the new key into something like lsh-writekey, which splits it into its private and public parts, and optionally encrypts the private info. It's giving glow-up pipeline πŸŽ€


✨ OPTIONS ✨

  • -a, --algorithm=Algorithm β€” DSA or RSA. Default? It's gonna generate RSA keys for you, no questions asked. πŸ’œ
  • -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 there is 2048 bits. ✨
  • --server β€” use the server's seed-file πŸ‘‘
  • --debug β€” prints huge amounts of debug info. like, so much. it's a lot. 😭
  • --log-file=File name β€” append messages to this file. πŸ“
  • -q, --quiet β€” suppress all warnings and diagnostic messages. shhh 🀫
  • --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. (iykyk)


✨ DIAGNOSTICS ✨

See the --log-file, --verbose, --trace and --debug options. they're all right there, bestie πŸ’–


✨ REPORTING BUGS ✨

Found a bug? Report it to <bug-lsh@gnu.org>. be nice, be detailed, be iconic πŸ¦‹


✨ 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. πŸ“œ


✨ 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>, and it's based on a template written by J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl>. shoutout to the whole squad 🫢


✨ 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, this command

info lsh

should give you access to the complete manual. πŸ’…


okay that's the whole page bestie, you're officially a lsh-keygen expert, main character energy only πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

this was LSH-KEYGEN, living in the Lsh Manuals, dated NOVEMBER 2004 β€” bye babes, go generate something gorgeous πŸ‘‘πŸŒˆπŸ’œ

πŸ“¦ where this page comes from