From 998462a05c1d5af997d4ae59ad52d1ab69265071 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 18 May 2011 15:07:19 +0200 Subject: Release v1.0 --- bin/ssh-forcecommand | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin/ssh-forcecommand') diff --git a/bin/ssh-forcecommand b/bin/ssh-forcecommand index 70f9366..5443920 100755 --- a/bin/ssh-forcecommand +++ b/bin/ssh-forcecommand @@ -6,7 +6,7 @@ my $conffile = shift or die("Usage: $0 \n"); my $input = $ENV{SSH_ORIGINAL_COMMAND} or die("No command\n");; my %command; -my $VERSION = '0.0'; +my $VERSION = '1.0'; open(my $conf, '<', $conffile) or die("Can't open $conffile: $!\n"); @@ -40,6 +40,10 @@ 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 +=head1 VERSION + +This is B version 1.0 + =head1 DESCRIPTION B is a trivial script to safely execute remote commands via -- cgit v1.2.3