1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
|
.\" COPYRIGHT AND PERMISSION NOTICE
.\"
.\" Copyright (C) 1999 J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl>
.\"
.\" 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. <URL:http://www.fsf.org>
.\"
.\" 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 <bug-lsh@gnu.org>.
.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 <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>.
.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.
|