Mercurial > dropbear
comparison dbclient.1 @ 1173:d734fe76b72f coverity
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 23 Nov 2015 23:04:48 +0800 |
parents | a44747e5a05a |
children | 80cacacfec23 |
comparison
equal
deleted
inserted
replaced
1144:624fc24cfae5 | 1173:d734fe76b72f |
---|---|
1 .TH dbclient 1 | 1 .TH dbclient 1 |
2 .SH NAME | 2 .SH NAME |
3 dbclient \- lightweight SSH client | 3 dbclient \- lightweight SSH client |
4 .SH SYNOPSIS | 4 .SH SYNOPSIS |
5 .B dbclient | 5 .B dbclient |
6 [\-Tt] [\-p | 6 [flag arguments] [\-p |
7 .I port\fR] [\-i | 7 .I port\fR] [\-i |
8 .I id\fR] [\-L | 8 .I id\fR] [\-L |
9 .I l\fR:\fIh\fR:\fIr\fR] [\-R | 9 .I l\fR:\fIh\fR:\fIp\fR] [\-R |
10 .I l\fR:\fIh\fR:\fIr\fR] [\-l | 10 .I l\fR:\fIh\fR:\fIp\fR] [\-l |
11 .IR user ] | 11 .IR user ] |
12 .I host | 12 .I host |
13 .RI [ more\ flags ] | |
13 .RI [ command ] | 14 .RI [ command ] |
14 | 15 |
15 .B dbclient | 16 .B dbclient |
16 [ | 17 [ |
17 .I args ] | 18 .I args ] |
19 | 20 |
20 .SH DESCRIPTION | 21 .SH DESCRIPTION |
21 .B dbclient | 22 .B dbclient |
22 is a small SSH client | 23 is a small SSH client |
23 .SH OPTIONS | 24 .SH OPTIONS |
25 .TP | |
26 .TP | |
27 .B command | |
28 A command to run on the remote host. This will normally be run by the remote host | |
29 using the user's shell. The command begins at the first hyphen argument after the | |
30 host argument. If no command is specified an interactive terminal will be opened | |
31 (see -t and -T). | |
24 .TP | 32 .TP |
25 .B \-p \fIport | 33 .B \-p \fIport |
26 Connect to | 34 Connect to |
27 .I port | 35 .I port |
28 on the remote host. Alternatively a port can be specified as hostname^port. | 36 on the remote host. Alternatively a port can be specified as hostname^port. |
58 Login as | 66 Login as |
59 .I user | 67 .I user |
60 on the remote host. | 68 on the remote host. |
61 .TP | 69 .TP |
62 .B \-t | 70 .B \-t |
63 Allocate a PTY. | 71 Allocate a PTY. This is the default when no command is given, it gives a full |
72 interactive remote session. The main effect is that keystrokes are sent remotely | |
73 immediately as opposed to local line-based editing. | |
64 .TP | 74 .TP |
65 .B \-T | 75 .B \-T |
66 Don't allocate a PTY. | 76 Don't allocate a PTY. This is the default a command is given. See -t. |
67 .TP | 77 .TP |
68 .B \-N | 78 .B \-N |
69 Don't request a remote shell or run any commands. Any command arguments are ignored. | 79 Don't request a remote shell or run any commands. Any command arguments are ignored. |
70 .TP | 80 .TP |
71 .B \-f | 81 .B \-f |
127 .SH MULTI-HOP | 137 .SH MULTI-HOP |
128 Dropbear will also allow multiple "hops" to be specified, separated by commas. In | 138 Dropbear will also allow multiple "hops" to be specified, separated by commas. In |
129 this case a connection will be made to the first host, then a TCP forwarded | 139 this case a connection will be made to the first host, then a TCP forwarded |
130 connection will be made through that to the second host, and so on. Hosts other than | 140 connection will be made through that to the second host, and so on. Hosts other than |
131 the final destination will not see anything other than the encrypted SSH stream. | 141 the final destination will not see anything other than the encrypted SSH stream. |
132 A port for a host can be specified with a hash (eg matt@martello^44 ). | 142 A port for a host can be specified with a caret (eg matt@martello^44 ). |
133 This syntax can also be used with scp or rsync (specifying dbclient as the | 143 This syntax can also be used with scp or rsync (specifying dbclient as the |
134 ssh/rsh command). A file can be "bounced" through multiple SSH hops, eg | 144 ssh/rsh command). A file can be "bounced" through multiple SSH hops, eg |
135 | 145 |
136 scp -S dbclient matt@martello,root@wrt,canyons:/tmp/dump . | 146 scp -S dbclient matt@martello,root@wrt,canyons:/tmp/dump . |
137 | 147 |
155 dbclient can use an external program to request a password from a user. | 165 dbclient can use an external program to request a password from a user. |
156 SSH_ASKPASS should be set to the path of a program that will return a password | 166 SSH_ASKPASS should be set to the path of a program that will return a password |
157 on standard output. This program will only be used if either DISPLAY is set and | 167 on standard output. This program will only be used if either DISPLAY is set and |
158 standard input is not a TTY, or the environment variable SSH_ASKPASS_ALWAYS is | 168 standard input is not a TTY, or the environment variable SSH_ASKPASS_ALWAYS is |
159 set. | 169 set. |
170 .SH NOTES | |
171 If compiled with zlib support and if the server supports it, dbclient will | |
172 always use compression. | |
173 | |
160 .SH AUTHOR | 174 .SH AUTHOR |
161 Matt Johnston ([email protected]). | 175 Matt Johnston ([email protected]). |
162 .br | 176 .br |
163 Mihnea Stoenescu wrote initial Dropbear client support | 177 Mihnea Stoenescu wrote initial Dropbear client support |
164 .br | 178 .br |