diff options
author | Maximilian Gass <mxey@ghosthacking.net> | 2011-05-23 08:09:14 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-05-23 09:54:31 +0200 |
commit | bb7634d7913c66ec0bfdfc8cf22953d2ab010bdc (patch) | |
tree | aec83f32a86c6a493c0ac246f037422105e68290 | |
parent | db66ad9caafbb4c5dfd07444ec417f7ed73560af (diff) |
Use tabs for indentation in POD
Like the rest of the code (did)
-rwxr-xr-x | bin/ssh-forcecommand | 10 |
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 |