summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-11-25 20:46:06 +0800
committerGuilhem Moulin <guilhem@fripost.org>2015-11-25 20:46:06 +0800
commit550b3056fddb03bc6ac68dcc4ac4159c986d321d (patch)
treeed3c1ba2560dc4d4f3978649354f3ba50067ad03
parent1ba5e8052e6cfbb157496c0bf022c4a77b5d0fd8 (diff)
Fix minor manpage formatting issues
-rw-r--r--dbclient.113
-rw-r--r--dropbear.89
-rw-r--r--dropbearconvert.110
-rw-r--r--dropbearkey.17
4 files changed, 17 insertions, 22 deletions
diff --git a/dbclient.1 b/dbclient.1
index 098300a..d9e7631 100644
--- a/dbclient.1
+++ b/dbclient.1
@@ -3,20 +3,19 @@
dbclient \- lightweight SSH client
.SH SYNOPSIS
.B dbclient
-[flag arguments] [\-p
+[\fIflag arguments\fR] [\-p
.I port\fR] [\-i
.I id\fR] [\-L
.I l\fR:\fIh\fR:\fIp\fR] [\-R
.I l\fR:\fIh\fR:\fIp\fR] [\-l
.IR user ]
.I host
-.RI [ more\ flags ]
+.RI [ \fImore\ flags\fR ]
.RI [ command ]
.B dbclient
-[
-.I args ]
-.I [user1]@host1[^port1],[user2]@host2[^port2],...
+[\fIargs\fR]
+[\fIuser1\fR]@\fIhost1\fR[^\fIport1\fR],[\fIuser2\fR]@\fIhost2\fR[^\fIport2\fR],...
.SH DESCRIPTION
.B dbclient
@@ -43,7 +42,7 @@ Read the identity key from file
(multiple allowed). This file is created with dropbearkey(1) or converted
from OpenSSH with dropbearconvert(1). The default path ~/.ssh/id_dropbear is used
.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.
Forward the port
.I listenport
@@ -52,7 +51,7 @@ on the local host through the SSH connection to port
on the host
.IR host .
.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.
Forward the port
.I listenport
diff --git a/dropbear.8 b/dropbear.8
index 501cecf..71200d9 100644
--- a/dropbear.8
+++ b/dropbear.8
@@ -3,11 +3,10 @@
dropbear \- lightweight SSH server
.SH SYNOPSIS
.B dropbear
-[flag arguments] [\-b
+[\fIflag arguments\fR] [\-b
.I banner\fR]
[\-r
-.I hostkeyfile\fR] [\-p
-.IR [address:]port ]
+.I hostkeyfile\fR] [\-p [\fIaddress\fR:]\fIport\fR]
.SH DESCRIPTION
.B dropbear
is a small SSH server
@@ -54,7 +53,7 @@ Disable local port forwarding.
.B \-k
Disable remote port forwarding.
.TP
-.B \-p \fI[address:]port
+.B \-p\fR [\fIaddress\fR:]\fIport
Listen on specified
.I address
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.
.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.
The authorized_keys file and its containing ~/.ssh directory must only be
diff --git a/dropbearconvert.1 b/dropbearconvert.1
index b2f34ef..dd97ad4 100644
--- a/dropbearconvert.1
+++ b/dropbearconvert.1
@@ -21,24 +21,24 @@ from a private key by using
.P
Encrypted private keys are not supported, use ssh-keygen(1) to decrypt them
first.
-.SH OPTIONS
+.SH ARGUMENTS
.TP
-.B input type
+.I input_type
Either
.I dropbear
or
.I openssh
.TP
-.B output type
+.I output_type
Either
.I dropbear
or
.I openssh
.TP
-.B input file
+.I input_file
An existing Dropbear or OpenSSH private key file
.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
.SH EXAMPLE
# dropbearconvert openssh dropbear ~/.ssh/id_rsa ~/.ssh/id_dropbear
diff --git a/dropbearkey.1 b/dropbearkey.1
index 66abae4..9bc4ed9 100644
--- a/dropbearkey.1
+++ b/dropbearkey.1
@@ -13,10 +13,7 @@ dropbearkey \- create private keys for the use with dropbear(8) or dbclient(1)
.SH DESCRIPTION
.B dropbearkey
generates a
-.I RSA
-.I DSS,
-or
-.I ECDSA
+\fIRSA\fR, \fIDSS\fR, or \fIECDSA\fR
format SSH private key, and saves it to a file for the use with the
Dropbear client or server.
Note that
@@ -34,7 +31,7 @@ or
.TP
.B \-f \fIfile
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
.B \-s \fIbits
Set the key size to