Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 magnus 1
.\"                                      Hey, EMACS: -*- nroff -*-
2
.\" First parameter, NAME, should be all caps
3
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
4
.\" other parameters are allowed: see man(7), man(1)
5
.TH LSH-WRITEKEY 1 "Aug 21 2002" lsh-writekey "lsh manuals"
6
.\" Please adjust this date whenever revising the manpage.
7
.\"
8
.\" Some roff macros, for reference:
9
.\" .nh        disable hyphenation
10
.\" .hy        enable hyphenation
11
.\" .ad l      left justify
12
.\" .ad b      justify to both left and right margins
13
.\" .nf        disable filling
14
.\" .fi        enable filling
15
.\" .br        insert line break
16
.\" .sp <n>    insert n+1 empty lines
17
.\" for manpage-specific macros, see man(7)
18
.SH NAME
19
lsh-writekey \- store a public / private key pair.
20
.SH SYNOPSIS
21
.B lsh-writekey
22
.RI [ options ]
23
.SH DESCRIPTION
24
This manual page documents briefly the
25
.B lsh-writekey
26
command.
27
This manual page was written for the Debian distribution
28
because the original program does not have a manual page.
29
Instead, it has documentation in the GNU Info format; see below.
30
.PP
31
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
32
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
33
.\" respectively.
34
\fBlsh-writekey\fP is a program that reads a public / private key pair in
35
\fBSPKI(5)\fP format on stdin, separates the public and private sections of
36
the key and writes them to separate files.
37
.SH OPTIONS
38
This program follows the usual GNU command line syntax, with long
39
options starting with two dashes (`-').
40
A summary of options is included below.
41
For a complete description, see the Info files.
42
.TP
43
.B \-c, \-\-crypto=\fIalgorithm\fP
44
Encryption algorithm to use on the private key file.
45
.TP
46
.B \-i, \-\-iteration\-count=\fIPKCS#5\fP
47
Iteration count, the default is 1500.
48
.TP
49
.B \-l, \-\-label=\fItext\fP
50
Sets the unencrypted label for the key.
51
.TP
52
.B \-o, \-\-output\-file=\fIfilename\fP
53
The file to write the private key to. The public key file has a ".pub"
54
appended to the end of it. The default output file is "~/.lsh/identity".
55
.TP
56
.B \-f, \-\-output\-format=\fIformat\fP
57
Specifies the variant of the S-expression syntax to generate. Valid formats are
58
"transport", "canonical", "advanced" and "international".
59
.TP
60
.B \-p, \-\-passphrase=\fIpassword\fP
61
Specifies a passphrase for the private key.
62
.TP
63
.B \-\-server
64
Use the server seed file, and change the default output file to
65
/etc/lsh_host_key.
66
.TP
67
.B \-\-debug
68
Print huge amounts of debug information.
69
.TP
70
.B \-\-log\-file=\fIfile\fP
71
Append messages to \fIfile\fP.
72
.TP
73
.B \-q, \-\-quiet
74
Suppress all warnings and diagnostic messages.
75
.TP
76
.B \-\-trace
77
Print a detailed program trace.
78
.TP
79
.B \-v, \-\-verbose
80
Print verbose diagnostic messages
81
.TP
82
.B \-?, \-\-help
83
Show summary of options.
84
.TP
85
.B \-\-usage
86
Show a short usage message.
87
.TP
88
.B \-V, \-\-version
89
Show version of program.
90
.SH ENVIRONMENT
91
.TP
92
HOME
93
The user's home directory.
94
.SH FILES
95
.TP
96
~/.lsh/identity
97
Default location where the private key is stored.
98
~/.lsh/identity.pub
99
Default location where the public key is stored.
100
/etc/lsh_host_key, /etc/lsh_host_key.pub
101
The server's private and public host keys.
102
.SH EXAMPLE
103
A typical usage of lsh-writekey is:
104
 
105
lsh-keygen -l 8 | lsh-writekey
106
 
107
which generates a public / private key pair using \fBlsh-keygen(1)\fP and
108
stores it to the default ~/.lsh/identity.
109
.SH SEE ALSO
110
.BR lsh-keygen (1),
111
.BR lsh-make-seed (1),
17 magnus 112
.BR lsh (1),
2 magnus 113
.BR lshd (8),
114
.BR SPKI (5).
115
.BR
116
The programs are documented fully by
117
.IR "Lsh" ,
118
available via the Info system.
119
.SH AUTHOR
120
This manual page was written by Timshel Knoll <timshel@debian.org>,
121
for the Debian GNU/Linux system (but may be used by others).