Fix minor manpage formatting issues

This commit is contained in:
Guilhem Moulin 2015-11-25 20:46:06 +08:00
parent 1ba5e8052e
commit 550b3056fd
4 changed files with 17 additions and 22 deletions

View File

@ -3,20 +3,19 @@
dbclient \- lightweight SSH client dbclient \- lightweight SSH client
.SH SYNOPSIS .SH SYNOPSIS
.B dbclient .B dbclient
[flag arguments] [\-p [\fIflag arguments\fR] [\-p
.I port\fR] [\-i .I port\fR] [\-i
.I id\fR] [\-L .I id\fR] [\-L
.I l\fR:\fIh\fR:\fIp\fR] [\-R .I l\fR:\fIh\fR:\fIp\fR] [\-R
.I l\fR:\fIh\fR:\fIp\fR] [\-l .I l\fR:\fIh\fR:\fIp\fR] [\-l
.IR user ] .IR user ]
.I host .I host
.RI [ more\ flags ] .RI [ \fImore\ flags\fR ]
.RI [ command ] .RI [ command ]
.B dbclient .B dbclient
[ [\fIargs\fR]
.I args ] [\fIuser1\fR]@\fIhost1\fR[^\fIport1\fR],[\fIuser2\fR]@\fIhost2\fR[^\fIport2\fR],...
.I [user1]@host1[^port1],[user2]@host2[^port2],...
.SH DESCRIPTION .SH DESCRIPTION
.B dbclient .B dbclient
@ -43,7 +42,7 @@ Read the identity key from file
(multiple allowed). This file is created with dropbearkey(1) or converted (multiple allowed). This file is created with dropbearkey(1) or converted
from OpenSSH with dropbearconvert(1). The default path ~/.ssh/id_dropbear is used from OpenSSH with dropbearconvert(1). The default path ~/.ssh/id_dropbear is used
.TP .TP
.B \-L [\fIlistenaddress\fR]:\fIlistenport\fR:\fIhost\fR:\fIport\fR .B \-L\fR [\fIlistenaddress\fR]:\fIlistenport\fR:\fIhost\fR:\fIport\fR
Local port forwarding. Local port forwarding.
Forward the port Forward the port
.I listenport .I listenport
@ -52,7 +51,7 @@ on the local host through the SSH connection to port
on the host on the host
.IR host . .IR host .
.TP .TP
.B \-R [\fIlistenaddress\fR]:\fIlistenport\fR:\fIhost\fR:\fIport\fR .B \-R\fR [\fIlistenaddress\fR]:\fIlistenport\fR:\fIhost\fR:\fIport\fR
Remote port forwarding. Remote port forwarding.
Forward the port Forward the port
.I listenport .I listenport

View File

@ -3,11 +3,10 @@
dropbear \- lightweight SSH server dropbear \- lightweight SSH server
.SH SYNOPSIS .SH SYNOPSIS
.B dropbear .B dropbear
[flag arguments] [\-b [\fIflag arguments\fR] [\-b
.I banner\fR] .I banner\fR]
[\-r [\-r
.I hostkeyfile\fR] [\-p .I hostkeyfile\fR] [\-p [\fIaddress\fR:]\fIport\fR]
.IR [address:]port ]
.SH DESCRIPTION .SH DESCRIPTION
.B dropbear .B dropbear
is a small SSH server is a small SSH server
@ -54,7 +53,7 @@ Disable local port forwarding.
.B \-k .B \-k
Disable remote port forwarding. Disable remote port forwarding.
.TP .TP
.B \-p \fI[address:]port .B \-p\fR [\fIaddress\fR:]\fIport
Listen on specified Listen on specified
.I address .I address
and TCP and TCP
@ -128,7 +127,7 @@ Disable PTY allocation. Note that a user can still obtain most of the
same functionality with other means even if no-pty is set. same functionality with other means even if no-pty is set.
.TP .TP
.B command="\fIforced_command\fR" .B command=\fR"\fIforced_command\fR"
Disregard the command provided by the user and always run \fIforced_command\fR. Disregard the command provided by the user and always run \fIforced_command\fR.
The authorized_keys file and its containing ~/.ssh directory must only be The authorized_keys file and its containing ~/.ssh directory must only be

View File

@ -21,24 +21,24 @@ from a private key by using
.P .P
Encrypted private keys are not supported, use ssh-keygen(1) to decrypt them Encrypted private keys are not supported, use ssh-keygen(1) to decrypt them
first. first.
.SH OPTIONS .SH ARGUMENTS
.TP .TP
.B input type .I input_type
Either Either
.I dropbear .I dropbear
or or
.I openssh .I openssh
.TP .TP
.B output type .I output_type
Either Either
.I dropbear .I dropbear
or or
.I openssh .I openssh
.TP .TP
.B input file .I input_file
An existing Dropbear or OpenSSH private key file An existing Dropbear or OpenSSH private key file
.TP .TP
.B output file .I output_file
The path to write the converted private key file. For client authentication ~/.ssh/id_dropbear is loaded by default The path to write the converted private key file. For client authentication ~/.ssh/id_dropbear is loaded by default
.SH EXAMPLE .SH EXAMPLE
# dropbearconvert openssh dropbear ~/.ssh/id_rsa ~/.ssh/id_dropbear # dropbearconvert openssh dropbear ~/.ssh/id_rsa ~/.ssh/id_dropbear

View File

@ -13,10 +13,7 @@ dropbearkey \- create private keys for the use with dropbear(8) or dbclient(1)
.SH DESCRIPTION .SH DESCRIPTION
.B dropbearkey .B dropbearkey
generates a generates a
.I RSA \fIRSA\fR, \fIDSS\fR, or \fIECDSA\fR
.I DSS,
or
.I ECDSA
format SSH private key, and saves it to a file for the use with the format SSH private key, and saves it to a file for the use with the
Dropbear client or server. Dropbear client or server.
Note that Note that
@ -34,7 +31,7 @@ or
.TP .TP
.B \-f \fIfile .B \-f \fIfile
Write the secret key to the file Write the secret key to the file
.IR file . For client authentication ~/.ssh/id_dropbear is loaded by default \fIfile\fR. For client authentication ~/.ssh/id_dropbear is loaded by default
.TP .TP
.B \-s \fIbits .B \-s \fIbits
Set the key size to Set the key size to