OnWorks favicon

lsh-export-key - Online in the Cloud

Run lsh-export-key in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command lsh-export-key that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



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


lsh-export-key [OPTION...]


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

The given key (supplied on stdin or in the file given with the --input-file option) is
read and written to stdout (or the file supplied by the --output-file option) in the
desired format (fingerprint, OpenSSH format or SSH2/IETF style).


To convert the default public key (~/.lsh/identity.pub) to OpenSSH format (to put in
authorized_keys on a host using the OpenSSH sshd).

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

To check the fingerprint of your servers 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


-c, --comment=comment string
Add comment to output key.

Show key fingerprint.

-o, --output-file=Filename Default is stdout

Output key in openssh single-line format.

-r, --input-file=Filename
Default is stdin

-s, --subject=subject string
Add subject to output key.

Print huge amounts of debug information

--log-file=File name
Append messages to this file.

-q, --quiet
Suppress all warnings and diagnostic messages

Detailed trace

-v, --verbose
Verbose diagnostic messages

-?, --help
Give this help list

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.


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


Report bugs to <[email protected]>.


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.

Use lsh-export-key online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

Linux commands