From bb7634d7913c66ec0bfdfc8cf22953d2ab010bdc Mon Sep 17 00:00:00 2001 From: Maximilian Gass Date: Mon, 23 May 2011 08:09:14 +0200 Subject: Use tabs for indentation in POD Like the rest of the code (did) --- bin/ssh-forcecommand | 10 +++++----- 1 file 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 -- cgit v1.2.3