summaryrefslogtreecommitdiff
path: root/bin/ssh-forcecommand
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ssh-forcecommand')
-rwxr-xr-xbin/ssh-forcecommand6
1 files changed, 5 insertions, 1 deletions
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 <configfile>\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<ssh-forcecommand> version 1.0
+
=head1 DESCRIPTION
B<ssh-forcecommand> is a trivial script to safely execute remote commands via