mirror of
https://github.com/clearml/dropbear
synced 2025-04-07 14:14:19 +00:00
Improve dbclient manpage
This commit is contained in:
parent
6f5abeff2e
commit
1ba5e8052e
27
dbclient.1
27
dbclient.1
@ -6,10 +6,11 @@ dbclient \- lightweight SSH client
|
|||||||
[flag arguments] [\-p
|
[flag arguments] [\-p
|
||||||
.I port\fR] [\-i
|
.I port\fR] [\-i
|
||||||
.I id\fR] [\-L
|
.I id\fR] [\-L
|
||||||
.I l\fR:\fIh\fR:\fIr\fR] [\-R
|
.I l\fR:\fIh\fR:\fIp\fR] [\-R
|
||||||
.I l\fR:\fIh\fR:\fIr\fR] [\-l
|
.I l\fR:\fIh\fR:\fIp\fR] [\-l
|
||||||
.IR user ]
|
.IR user ]
|
||||||
.I host
|
.I host
|
||||||
|
.RI [ more\ flags ]
|
||||||
.RI [ command ]
|
.RI [ command ]
|
||||||
|
|
||||||
.B dbclient
|
.B dbclient
|
||||||
@ -20,11 +21,15 @@ dbclient \- lightweight SSH client
|
|||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B dbclient
|
.B dbclient
|
||||||
is a small SSH client
|
is a small SSH client
|
||||||
.P
|
|
||||||
If compiled with zlib support and if the server supports it, dbclient will
|
|
||||||
always use compression.
|
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
|
.TP
|
||||||
|
.B command
|
||||||
|
A command to run on the remote host. This will normally be run by the remote host
|
||||||
|
using the user's shell. The command begins at the first hyphen argument after the
|
||||||
|
host argument. If no command is specified an interactive terminal will be opened
|
||||||
|
(see -t and -T).
|
||||||
|
.TP
|
||||||
.B \-p \fIport
|
.B \-p \fIport
|
||||||
Connect to
|
Connect to
|
||||||
.I port
|
.I port
|
||||||
@ -63,10 +68,12 @@ Login as
|
|||||||
on the remote host.
|
on the remote host.
|
||||||
.TP
|
.TP
|
||||||
.B \-t
|
.B \-t
|
||||||
Allocate a PTY.
|
Allocate a PTY. This is the default when no command is given, it gives a full
|
||||||
|
interactive remote session. The main effect is that keystrokes are sent remotely
|
||||||
|
immediately as opposed to local line-based editing.
|
||||||
.TP
|
.TP
|
||||||
.B \-T
|
.B \-T
|
||||||
Don't allocate a PTY.
|
Don't allocate a PTY. This is the default a command is given. See -t.
|
||||||
.TP
|
.TP
|
||||||
.B \-N
|
.B \-N
|
||||||
Don't request a remote shell or run any commands. Any command arguments are ignored.
|
Don't request a remote shell or run any commands. Any command arguments are ignored.
|
||||||
@ -132,7 +139,7 @@ Dropbear will also allow multiple "hops" to be specified, separated by commas. I
|
|||||||
this case a connection will be made to the first host, then a TCP forwarded
|
this case a connection will be made to the first host, then a TCP forwarded
|
||||||
connection will be made through that to the second host, and so on. Hosts other than
|
connection will be made through that to the second host, and so on. Hosts other than
|
||||||
the final destination will not see anything other than the encrypted SSH stream.
|
the final destination will not see anything other than the encrypted SSH stream.
|
||||||
A port for a host can be specified with a hash (eg matt@martello^44 ).
|
A port for a host can be specified with a caret (eg matt@martello^44 ).
|
||||||
This syntax can also be used with scp or rsync (specifying dbclient as the
|
This syntax can also be used with scp or rsync (specifying dbclient as the
|
||||||
ssh/rsh command). A file can be "bounced" through multiple SSH hops, eg
|
ssh/rsh command). A file can be "bounced" through multiple SSH hops, eg
|
||||||
|
|
||||||
@ -160,6 +167,10 @@ SSH_ASKPASS should be set to the path of a program that will return a password
|
|||||||
on standard output. This program will only be used if either DISPLAY is set and
|
on standard output. This program will only be used if either DISPLAY is set and
|
||||||
standard input is not a TTY, or the environment variable SSH_ASKPASS_ALWAYS is
|
standard input is not a TTY, or the environment variable SSH_ASKPASS_ALWAYS is
|
||||||
set.
|
set.
|
||||||
|
.SH NOTES
|
||||||
|
If compiled with zlib support and if the server supports it, dbclient will
|
||||||
|
always use compression.
|
||||||
|
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Matt Johnston (matt@ucc.asn.au).
|
Matt Johnston (matt@ucc.asn.au).
|
||||||
.br
|
.br
|
||||||
|
Loading…
Reference in New Issue
Block a user