summaryrefslogtreecommitdiffhomepage
path: root/dropbear.8
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2016-04-12 21:05:40 +0800
committerMatt Johnston <matt@ucc.asn.au>2016-04-12 21:05:40 +0800
commit103036c5465614b817d2d4644b8e84e6173b0a1f (patch)
tree6b220a97ed9af61fc53f79f87c85a276ef343898 /dropbear.8
parentac9a4c839f6cbde3ca8226d79eca36a497620594 (diff)
Add manpage and log for forced_command
Diffstat (limited to 'dropbear.8')
-rw-r--r--dropbear.85
1 files changed, 5 insertions, 0 deletions
diff --git a/dropbear.8 b/dropbear.8
index 71200d9..be73372 100644
--- a/dropbear.8
+++ b/dropbear.8
@@ -91,6 +91,10 @@ if 0 disables keepalives. If no response is received for 3 consecutive keepalive
.B \-I \fIidle_timeout
Disconnect the session if no traffic is transmitted or received for \fIidle_timeout\fR seconds.
.TP
+.B \-c \fIforced_command
+Disregard the command provided by the user and always run \fIforced_command\fR. This also
+overrides any authorized_keys command= option.
+.TP
.B \-V
Print the version
@@ -129,6 +133,7 @@ same functionality with other means even if no-pty is set.
.TP
.B command=\fR"\fIforced_command\fR"
Disregard the command provided by the user and always run \fIforced_command\fR.
+The -c command line option overrides this.
The authorized_keys file and its containing ~/.ssh directory must only be
writable by the user, otherwise Dropbear will not allow a login using public