comparison dbclient.1 @ 1784:94323a20e572

Some minor manpage improvements
author Matt Johnston <matt@ucc.asn.au>
date Sat, 05 Dec 2020 14:56:53 +0800
parents 33b872649eb7
children
comparison
equal deleted inserted replaced
1783:918e49decafa 1784:94323a20e572
17 [\fIargs\fR] 17 [\fIargs\fR]
18 [\fIuser1\fR]@\fIhost1\fR[^\fIport1\fR],[\fIuser2\fR]@\fIhost2\fR[^\fIport2\fR],... 18 [\fIuser1\fR]@\fIhost1\fR[^\fIport1\fR],[\fIuser2\fR]@\fIhost2\fR[^\fIport2\fR],...
19 19
20 .SH DESCRIPTION 20 .SH DESCRIPTION
21 .B dbclient 21 .B dbclient
22 is a small SSH client 22 is the client part of Dropbear SSH
23 .SH OPTIONS 23 .SH OPTIONS
24 .TP 24 .TP
25 .TP 25 .TP
26 .B command 26 .B command
27 A command to run on the remote host. This will normally be run by the remote host 27 A command to run on the remote host. This will normally be run by the remote host
42 (multiple allowed). This file is created with dropbearkey(1) or converted 42 (multiple allowed). This file is created with dropbearkey(1) or converted
43 from OpenSSH with dropbearconvert(1). The default path ~/.ssh/id_dropbear is used 43 from OpenSSH with dropbearconvert(1). The default path ~/.ssh/id_dropbear is used
44 .TP 44 .TP
45 .B \-L\fR [\fIlistenaddress\fR]:\fIlistenport\fR:\fIhost\fR:\fIport\fR 45 .B \-L\fR [\fIlistenaddress\fR]:\fIlistenport\fR:\fIhost\fR:\fIport\fR
46 Local port forwarding. 46 Local port forwarding.
47 Forward the port 47 Forward
48 .I listenport 48 .I listenport
49 on the local host through the SSH connection to port 49 on the local host through the SSH connection to
50 .I port 50 .I port
51 on the host 51 on
52 .IR host . 52 .IR host .
53 .TP 53 .TP
54 .B \-R\fR [\fIlistenaddress\fR]:\fIlistenport\fR:\fIhost\fR:\fIport\fR 54 .B \-R\fR [\fIlistenaddress\fR]:\fIlistenport\fR:\fIhost\fR:\fIport\fR
55 Remote port forwarding. 55 Remote port forwarding.
56 Forward the port 56 Forward
57 .I listenport 57 .I listenport
58 on the remote host through the SSH connection to port 58 on the remote host through the SSH connection to
59 .I port 59 .I port
60 on the host 60 on
61 .IR host . 61 .IR host .
62 .TP 62 .TP
63 .B \-l \fIuser 63 .B \-l \fIuser
64 Username. 64 Username.
65 Login as 65 Login as
66 .I user 66 .I user
67 on the remote host. 67 on the remote host. An alternative is to specify user@host.
68 .TP 68 .TP
69 .B \-t 69 .B \-t
70 Allocate a PTY. This is the default when no command is given, it gives a full 70 Allocate a PTY. This is the default when no command is given, it gives a full
71 interactive remote session. The main effect is that keystrokes are sent remotely 71 interactive remote session. The main effect is that keystrokes are sent remotely
72 immediately as opposed to local line-based editing. 72 immediately as opposed to local line-based editing.
73 .TP 73 .TP
74 .B \-T 74 .B \-T
75 Don't allocate a PTY. This is the default a command is given. See -t. 75 Don't allocate a PTY. This is the default when a command is given. See -t.
76 .TP 76 .TP
77 .B \-N 77 .B \-N
78 Don't request a remote shell or run any commands. Any command arguments are ignored. 78 Don't request a remote shell or run any commands. Any command arguments are ignored.
79 .TP 79 .TP
80 .B \-f 80 .B \-f
147 The following options have currently been implemented: 147 The following options have currently been implemented:
148 148
149 .RS 149 .RS
150 .TP 150 .TP
151 .B ExitOnForwardFailure 151 .B ExitOnForwardFailure
152 Specifies whether dbclient should terminate the connection if it cannot set up all requested local and remote port forwardings. The argument must be “yes” or “no”. The default is “no”. 152 Specifies whether dbclient should terminate the connection if it cannot set up all requested local and remote port forwardings. The argument must be "yes" or "no". The default is "no".
153 .TP 153 .TP
154 .B UseSyslog 154 .B UseSyslog
155 Send dbclient log messages to syslog in addition to stderr. 155 Send dbclient log messages to syslog in addition to stderr.
156 .TP
157 .B Port
158 Specify a listening port, like the \fI-p\fR argument.
156 .RE 159 .RE
157 .TP 160 .TP
158 .B \-s 161 .B \-s
159 The specified command will be requested as a subsystem, used for sftp. Dropbear doesn't implement sftp itself but the OpenSSH sftp client can be used eg \fIsftp -S dbclient user@host\fR 162 The specified command will be requested as a subsystem, used for sftp. Dropbear doesn't implement sftp itself but the OpenSSH sftp client can be used eg \fIsftp -S dbclient user@host\fR
160 .TP 163 .TP