summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/ssh-forcecommand10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/ssh-forcecommand b/bin/ssh-forcecommand
index 5fb5068..7b024a7 100755
--- a/bin/ssh-forcecommand
+++ b/bin/ssh-forcecommand
@@ -35,8 +35,8 @@ ssh-forcecommand - Whitelist remote commands via ssh config
In .ssh/authorized_keys:
- command="/usr/local/lib/ssh-forcecommand /etc/forcecommand/backup",no-agent-forwarding,no-port-
- forwarding,no-pty,no-X11-forwarding $key
+ command="/usr/local/lib/ssh-forcecommand /etc/forcecommand/backup",no-agent-forwarding,no-port-
+ forwarding,no-pty,no-X11-forwarding $key
=head1 VERSION
@@ -81,15 +81,15 @@ script, see the examples directory.
Assume you have the following line in your forcecommand config:
- home = tar -C / -cf - home
+ home = tar -C / -cf - home
Now, on the remote system, run this:
- ssh user@yourhost home
+ ssh user@yourhost home
On your system, this will translate to:
- tar -C / -cf - home
+ tar -C / -cf - home
The forcecommand is 100% static, variables or appending of stuff is not
supported. No part of the original ssh command will be dynamically used in