.\" COPYRIGHT AND PERMISSION NOTICE .\" .\" Copyright (C) 1999 J.H.M. Dassen (Ray) .\" .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one. .\" .\" Permission is granted to copy and distribute translations of this manual .\" into another language, under the above conditions for modified versions, .\" except that this permission notice may be stated in a translation approved .\" by the Free Software Foundation, Inc. .\" .\" END COPYRIGHT AND PERMISSION NOTICE .\" .\" If you make modified versions of this manual, please notify the current .\" maintainers of the package you received this manual from and make your .\" modified versions available to them. .\" .TH LSH-EXPORT-KEY 1 "NOVEMBER 2004" LSH-EXPORT-KEY "Lsh Manuals" .SH NAME lsh-export-key \- Reads the key on stdin and output in OpenSSH/SSH2 format. .SH SYNOPSIS .B lsh-export-key [\fIOPTION\fR...] .SH DESCRIPTION .B CAUTION! The information in this manpage may be invalid or outdated. For authorative .B information on lsh, please see it's Texinfo manual (see the .I SEE\ ALSO .B section). The given key (supplied on stdin or in the file given with the .B --input-file option) is read and written to stdout (or the file supplied by the .B --output-file option) in the desired format (fingerprint, OpenSSH format or SSH2/IETF style). .SH EXAMPLES 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. .PD 0 $ lsh-export-key --fingerprint < /etc/lsh_host_key.pub .PP MD5 fingerprint: b9:86:04:e0:89:2b:5b:c7:0c:2b:4b:3f:24:d2:41:59 .PP Bubble Babble: xefes-vyrum-buduk-nihyr-zotan-sizyr-nazik-hukyv-biloc-caceg-taxyx .PP $ .PD .SH OPTIONS .TP \fB\-c\fR, \fB\-\-comment\fR=\fIcomment\fR string Add comment to output key. .TP \fB\-\-fingerprint\fR Show key fingerprint. .HP \fB\-o\fR, \fB\-\-output\-file\fR=\fIFilename\fR Default is stdout .TP \fB\-\-openssh\fR Output key in openssh single-line format. .TP \fB\-r\fR, \fB\-\-input\-file\fR=\fIFilename\fR Default is stdin .TP \fB\-s\fR, \fB\-\-subject\fR=\fIsubject\fR string Add subject to output key. .TP \fB\-\-debug\fR Print huge amounts of debug information .TP \fB\-\-log\-file\fR=\fIFile\fR name Append messages to this file. .TP \fB\-q\fR, \fB\-\-quiet\fR Suppress all warnings and diagnostic messages .TP \fB\-\-trace\fR Detailed trace .TP \fB\-v\fR, \fB\-\-verbose\fR Verbose diagnostic messages .TP -?, \fB\-\-help\fR Give this help list .TP \fB\-\-usage\fR Give a short usage message .TP \fB\-V\fR, \fB\-\-version\fR Print program version .PP Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. .SH DIAGNOSTICS See the .B --verbose , .B --trace and .B --debug options. .SH "REPORTING BUGS" Report bugs to . .SH 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. .SH AUTHOR The lsh program suite is written mainly by Niels M\[:o]ller . This man-page was written for lsh 2.0 by Pontus Freyhult , it is based on a template written by J.H.M. Dassen (Ray) . .SH "SEE ALSO" .BR DSA (5), .BR lsh (1), .BR lsh-authorize (1), .BR lsh-decode-key (1), .BR lsh-decrypt-key (1), .BR lsh-keygen (1), .BR lsh-make-seed (1), .BR lsh-upgrade (1), .BR lsh-upgrade-key (1), .BR lsh-writekey (1), .BR lshd (8), .BR secsh (5), .BR SHA (5), .BR SPKI (5), .BR ssh-conv (1) The full documentation for .B lsh is maintained as a Texinfo manual. If the .B info and .B lsh programs are properly installed at your site, the command .IP .B info lsh .PP should give you access to the complete manual.