SSH-CONV(1)
π SSH-CONV(1) β the lsh manuals, bestie π
okay so real talk, this is ssh-conv from the Lsh Manuals, section 1, and she is exactly what you need when your OpenSSH keys are being extra and lsh just won't look at them. no cap. let's get into it π¦
β¨ NAME β¨
ssh-conv β a little script that converts OpenSSH/SSH2 keys into lsh format. that's the whole job. she's a specialist π
πΈ SYNOPSIS πΈ
ssh-conv [OPTION...]
π DESCRIPTION π
CAUTION! bestie the info in this manpage might be invalid or outdated π. for the authorative info on lsh, go look at its Texinfo manual (peep the SEE ALSO section down there β¬οΈ).
So what she does: she converts an OpenSSH style public key into the spki format that lsh uses. She reads the key from stdin and outputs the converted key on stdout. in-and-out, no drama, no files touched, we love a low-maintenance queen π
Example usage, for the visual learners:
$ ssh-conv < /home/pont/.ssh/id_dsa.pub
lsh-decode-key: lsh-decode-key: Reading key of type ssh-dss...
{KDEwOnB1YmxpYy1rZXkoMzpkc2EoMTpwMTI5OgD1qRFBMowgnnOzjOp3HptHWf9836wy/3
F59d8DfWWehKgy8DNISgmzCnRNXReL/5PvTZwFID2KvEYfyxAYy4uTSJbtkzDfsicGWi7n
YbXu2VpWHpNdhsaKrEu9iXmQb4JoN1grC0QsaCZrngACZRKEAklPH9ubwCMBK55yRP27gy
koMTpxMjE6AIoOrpe064y7L2oYQqBE3sNskW19KSgxOmcxMjg6Olyu4xMIWsUBeVnbg2oU
BvvbcsnHHhHyDVHmMZ1ERhDCLl6gjIsbWjBIBIXZUaFJ6AO236CfgdM5Rop5XYmcIIA9G7
QD2GWTe48MGdjFQVyr2SKoDiNFKSJXqHVYzZJeosvz6FyTDt7aGNGqcL0tG7GXl9savALt
RSQRfO9JlOcpKDE6eTEyOToAwyzp6sIt6KsLhFoeM9ADA7opHq4lFT6bS8su9g3KBGqGG4
JNsEN9CI5SnLpqsfVm5SxmqPMPJvdGVOqAjjfzsv7SvfhSBUHXYeYpgci49pfc5bZCh/EY
zX7bVnOVV3gQgNGeT0FN1gf9vTUMKh1VGPRfm7unXNqjBLEMYmlRwqcpKSk=}
$
see how she printed a lil lsh-decode-key: lsh-decode-key: Reading key of type ssh-dss... moment first? that's her being chatty on stdin-adjacent business, then the good stuff lands on stdout. the {...} blob? that's your converted key. iconic. π₯
π OPTIONS π
--decode-with PROGRAM-NAMEβ the program to use for the actual decoding. like, you're telling her who to hand the real work off to.PROGRAM-NAMEis the placeholder, swap in your actual program name π«Ά
π REPORTING BUGS π
found a bug? don't suffer in silence, report it to <bug-lsh@gnu.org>. that's the address. tell them everything, they can handle it π
π COPYING π
The lsh suite of programs is distributed under the GNU General Public License. the receipts live in the COPYING and AUTHORS files in the source distribution, so go check those for the full details. legal but make it β¨documentedβ¨
π AUTHOR π
The lsh program suite is written mainly by Niels MΓΆller <nisse@lysator.liu.se>. shoutout to the main character π«‘
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>. group project energy, and they ate π
π SEE ALSO π
go read these next, bestie, they're all in the family:
lsftp(1)lshg(1)lsh-authorize(1)lsh-decode-key(1)lsh-decrypt-key(1)lsh-export-key(1)lsh-keygen(1)lsh-make-seed(1)lsh-upgrade(1)lsh-upgrade-key(1)lsh-writekey(1)lshd(8)
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. so if you want the actual full lore, that's where it lives πβ¨
okay that's the whole page, you're officially educated, go convert some keys π
SSH-CONV β NOVEMBER 2004 β SSH-CONV(1) β yeah this one's been around since November 2004 and she's still serving, no notes, periodt ππ¦πΈ
π¦ 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