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 βDSAorRSA. 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: level0uses 512-bit primes, level8uses 1024 bit primes, and the default is8. 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
- debian bookworm: lsh-utils 2.1-13+b1
- ubuntu jammy: lsh-utils 2.1-13
- ubuntu noble: lsh-utils 2.1-14build2
- ubuntu resolute: lsh-utils 2.1-14build2
- ubuntu stonking: lsh-utils 2.1-14build2
- Copyright (C) 1999 J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms