Rev 5 | Blame | Compare with Previous | Last modification | View Log | RSS feed
.\" Hey, EMACS: -*- nroff -*-.\" First parameter, NAME, should be all caps.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection.\" other parameters are allowed: see man(7), man(1).TH LSH-WRITEKEY 1 "Aug 21 2002" lsh-writekey "lsh manuals".\" Please adjust this date whenever revising the manpage..\".\" Some roff macros, for reference:.\" .nh disable hyphenation.\" .hy enable hyphenation.\" .ad l left justify.\" .ad b justify to both left and right margins.\" .nf disable filling.\" .fi enable filling.\" .br insert line break.\" .sp <n> insert n+1 empty lines.\" for manpage-specific macros, see man(7).SH NAMElsh-writekey \- store a public / private key pair..SH SYNOPSIS.B lsh-writekey.RI [ options ].SH DESCRIPTIONThis manual page documents briefly the.B lsh-writekeycommand.This manual page was written for the Debian distributionbecause the original program does not have a manual page.Instead, it has documentation in the GNU Info format; see below..PP.\" TeX users may be more comfortable with the \fB<whatever>\fP and.\" \fI<whatever>\fP escape sequences to invode bold face and italics,.\" respectively.\fBlsh-writekey\fP is a program that reads a public / private key pair in\fBSPKI(5)\fP format on stdin, separates the public and private sections ofthe key and writes them to separate files..SH OPTIONSThis program follows the usual GNU command line syntax, with longoptions starting with two dashes (`-').A summary of options is included below.For a complete description, see the Info files..TP.B \-c, \-\-crypto=\fIalgorithm\fPEncryption algorithm to use on the private key file..TP.B \-i, \-\-iteration\-count=\fIPKCS#5\fPIteration count, the default is 1500..TP.B \-l, \-\-label=\fItext\fPSets the unencrypted label for the key..TP.B \-o, \-\-output\-file=\fIfilename\fPThe file to write the private key to. The public key file has a ".pub"appended to the end of it. The default output file is "~/.lsh/identity"..TP.B \-f, \-\-output\-format=\fIformat\fPSpecifies the variant of the S-expression syntax to generate. Valid formats are"transport", "canonical", "advanced" and "international"..TP.B \-p, \-\-passphrase=\fIpassword\fPSpecifies a passphrase for the private key..TP.B \-\-serverUse the server seed file, and change the default output file to/etc/lsh_host_key..TP.B \-\-debugPrint huge amounts of debug information..TP.B \-\-log\-file=\fIfile\fPAppend messages to \fIfile\fP..TP.B \-q, \-\-quietSuppress all warnings and diagnostic messages..TP.B \-\-tracePrint a detailed program trace..TP.B \-v, \-\-verbosePrint verbose diagnostic messages.TP.B \-?, \-\-helpShow summary of options..TP.B \-\-usageShow a short usage message..TP.B \-V, \-\-versionShow version of program..SH ENVIRONMENT.TPHOMEThe user's home directory..SH FILES.TP~/.lsh/identityDefault location where the private key is stored.~/.lsh/identity.pubDefault location where the public key is stored./etc/lsh_host_key, /etc/lsh_host_key.pubThe server's private and public host keys..SH EXAMPLEA typical usage of lsh-writekey is:lsh-keygen -l 8 | lsh-writekeywhich generates a public / private key pair using \fBlsh-keygen(1)\fP andstores it to the default ~/.lsh/identity..SH SEE ALSO.BR lsh-keygen (1),.BR lsh-make-seed (1),.BR lsh (1),.BR lshd (8),.BR SPKI (5)..BRThe programs are documented fully by.IR "Lsh" ,available via the Info system..SH AUTHORThis manual page was written by Timshel Knoll <timshel@debian.org>,for the Debian GNU/Linux system (but may be used by others).