blob: 609b3a6320f1b97507c09ea286e4eb12e219d1c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
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.
|