LSH-WRITEKEY(1)
๐ LSH-WRITEKEY ๐
okay bestie, so this is the manual for lsh-writekey, from the Lsh Manuals set, and it's literally the keypair split/store handler. yes that's the whole NAME situation. she splits, she stores, she serves. ๐
โจ SYNOPSIS โจ
lsh-writekey [OPTION...]
that's it. that's the whole vibe. options go in, magic comes out. ๐ช
๐ฆ DESCRIPTION ๐ฆ
okay so first things first, and I need you to hear me on this one:
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).
not me being a possibly-outdated queen ๐ญ for the authoritative tea you gotta go straight to the Texinfo manual, iykyk.
so what does she actually do? she splits a keypair in one private and one public file, and optionally she encrypts that private file using a passphrase. privacy queen behavior, fr fr. ๐
common usage โ and this is the iconic move โ is to pipe the output from lsh-keygen into this program. like, that's the group-chat routine. lsh-keygen talks, lsh-writekey writes it down. main character energy all around. โจ
๐ OPTIONS ๐
-c,--crypto=Algorithmโ picks the encryption algorithm for the private key file. glow-up your secrets, bestie.-i,--iteration-count=PKCS#5 iteration countโ how many PKCS#5 iterations we doing. default is1500. that's the number, no cap.-l,--label=Textโ an unencrypted label for the key. yes, unencrypted. the label's just out there living its life. ๐-o,--output-file=Filenameโ where the file goes. default is~/.lsh/identity.-p,--passphrase=Passwordโ the passphrase. ๐คซ--serverโ uses the server's seed-file, and changes the default output file to/etc/lsh_host_key'. server mode unlocked. ๐ฅ--debugโ prints huge amounts of debug information. like HUGE. be prepared to be flooded. ๐--log-file=File nameโ appends messages to this file. receipts, but on disk.-q,--quietโ suppresses all warnings and diagnostic messages. silent era. ๐ค--traceโ detailed trace. even more detailed than verbose, which is saying something.-v,--verboseโ verbose diagnostic messages. she's chatty, we love her. ๐ฌ-?,--helpโ gives this help list. hi, here's the help list. ๐--usageโ gives a short usage message. the tl;dr version.-V,--versionโ prints the program version. who are you? what era are you in? find out.
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. so like, don't think the short one is doing less work. same energy, both ways. ๐ซถ
๐ธ DIAGNOSTICS ๐ธ
see the --verbose, --trace and --debug options. they will tell you everything you could possibly want to know, and then some. ๐
๐ญ REPORTING BUGS ๐ญ
found a bug? report bugs to <bug-lsh@gnu.org>. don't suffer in silence, bestie, tell the maintainers. ๐ฎ
๐ 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. free software, slay, periodt. ๐ณ๏ธ
๐ AUTHOR ๐
The lsh program suite is written mainly by Niels Mรถller <nisse@lysator.liu.se>. absolute legend, no notes. ๐
This man-page was written for lsh 2.0 by Pontus Freyhult <pont_lsh@soua.net>, and it is based on a template written by J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl>. shoutout to the template squad. ๐
๐ SEE ALSO ๐
DSA(5), lsh(1), lsh-authorize(1), lsh-decode-key(1), lsh-export-key(1), lsh-keygen(1), lsh-make-seed(1), lsh-upgrade(1), lsh-upgrade-key(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
info lsh
should give you access to the complete manual. go read the whole thing, bestie, it's giving โจcomprehensiveโจ
and that's the whole page!! this was LSH-WRITEKEY, version NOVEMBER 2004, straight from LSH-WRITEKEY(1) โ mwah, take care of your keys, they're your babies ๐๐โจ
๐ฆ 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