LSH-EXPORT-KEY(1)

πŸ’– lsh-export-key(1) β€” Lsh Manuals πŸ’–

okay bestie, so this is lsh-export-key from the Lsh Manuals collection, and it's genuinely one of the most useful little gremlins in the whole lsh suite. it takes a key in and spits it back out in a different format. that's it. that's the whole job. but the way it does it?? iconic. ✨


✨ NAME ✨

lsh-export-key β€” Reads the key on stdin and output in OpenSSH/SSH2 format.


πŸŽ€ SYNOPSIS πŸŽ€

lsh-export-key [OPTION...]

πŸ¦‹ DESCRIPTION πŸ¦‹

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).

ok so here's the tea πŸ“: the key you hand over β€” either piped in on stdin, or pointed at with the --input-file option β€” gets read, and then it gets written right back out to stdout (or to whatever file you named with the --output-file option) in the format of your choosing. and you've got options, bestie: fingerprint, OpenSSH format, or SSH2/IETF style. pick your vibe, it slays. πŸ’…


🌸 EXAMPLES 🌸

say you wanna convert your default public key (~/.lsh/identity.pub) into OpenSSH format so you can drop it into authorized_keys on some host running OpenSSH's sshd. literally just:

$ lsh-export-key --openssh < ~/.lsh/identity.pub

and if you're nosy (respectfully) and wanna check the fingerprint of your server's key:

$ lsh-export-key --fingerprint < /etc/lsh_host_key.pub
MD5 fingerprint: b9:86:04:e0:89:2b:5b:c7:0c:2b:4b:3f:24:d2:41:59
Bubble Babble: xefes-vyrum-buduk-nihyr-zotan-sizyr-nazik-hukyv-biloc-
caceg-taxyx
$

look at that Bubble Babble output though 😭 so whimsical. so unserious. so correct.


πŸ‘‘ OPTIONS πŸ‘‘

  • -c, --comment=comment string β€” Add comment to output key.
  • --fingerprint β€” Show key fingerprint.
  • -o, --output-file=Filename Default is stdout
  • --openssh β€” Output key in openssh single-line format.
  • -r, --input-file=Filename β€” Default is stdin
  • -s, --subject=subject string β€” Add subject to output key.
  • --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. iykyk, the short and long versions are the same option wearing different outfits πŸ’œ


🩺 DIAGNOSTICS 🩺

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


πŸ™ˆ REPORTING BUGS πŸ™ˆ

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


πŸ“œ 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>, it is based on a template written by J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl>.


🌈 SEE ALSO 🌈

DSA(5), lsh(1), lsh-authorize(1), lsh-decode-key(1), lsh-decrypt-key(1), lsh-keygen(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

info lsh

should give you access to the complete manual.


and that's a wrap bestie 🫢 this page came from LSH-EXPORT-KEY, NOVEMBER 2004, and LSH-EXPORT-KEY(1) β€” go convert some keys, you've got this, mwah πŸ’–βœ¨

πŸ“¦ where this page comes from