Simple forcecommand for ssh
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
examples
t
.gitignore
Build.PL
COPYING
Changelog
README

README

ssh-forcecommand - Whitelist remote commands via ssh config
-----------------------------------------------------------

* <http://finalrewind.org/projects/ssh-forcecommand/>


Dependencies
------------

 * perl version 5.10 or newer


Installation
------------

$ perl Build.PL
$ perl Build
$ sudo perl Build install

By default, ssh-forcecommand is installed as /usr/local/bin/ssh-forcecommand.
In case you do not want to have in $PATH, you can use --install_path to change
this. For example, for a nagios forcecommand:

$ sudo perl Build install --install_path script=/usr/local/lib/nagios

Usage
-----

The documentation is available via "perldoc bin/ssh-forcecommand" or (after
installation) "man ssh-forcecommand".

Testing
-------

$ perl Build test

Requires the perl modules Test::Command, Test::Compile and Test::More.