summaryrefslogtreecommitdiffhomepage
path: root/dbclient.1
diff options
context:
space:
mode:
Diffstat (limited to 'dbclient.1')
-rw-r--r--dbclient.132
1 files changed, 19 insertions, 13 deletions
diff --git a/dbclient.1 b/dbclient.1
index 4d7cc3c..c91c272 100644
--- a/dbclient.1
+++ b/dbclient.1
@@ -29,24 +29,23 @@ Read the identity from file
.I idfile
(multiple allowed).
.TP
-.B \-L \fIlocalport\fR:\fIremotehost\fR:\fIremoteport\fR
+.B \-L \fIlistenport\fR:\fIhost\fR:\fIport\fR
Local port forwarding.
Forward the port
-.I localport
-on the local host to port
-.I remoteport
-on the remote host
-.IR remotehost .
+.I listenport
+on the local host through the SSH connection to port
+.I port
+on the host
+.IR host .
.TP
-.B \-R \fIlocalport\fR:\fIremotehost\fR:\fIremoteport\fR
+.B \-R \fIlistenport\fR:\fIhost\fR:\fIport\fR
Remote port forwarding.
Forward the port
-.I remoteport
-on the remote host
-.I remotehost
-to port
-.I localport
-on the local host.
+.I listenport
+on the remote host through the SSH connection to port
+.I port
+on the host
+.IR host .
.TP
.B \-l \fIuser
Username.
@@ -60,6 +59,13 @@ Allocate a pty.
.B \-T
Don't allocate a pty.
.TP
+.B \-N
+Don't request a remote shell or run any commands. Any command arguments are ignored.
+.TP
+.B \-f
+Fork into the background after authentication. A command argument (or -N) is required.
+This is useful when using password authentication.
+.TP
.B \-g
Allow non-local hosts to connect to forwarded ports. Applies to -L and -R
forwarded ports, though remote connections to -R forwarded ports may be limited