-
Notifications
You must be signed in to change notification settings - Fork 4
/
INSTALL
53 lines (35 loc) · 1.29 KB
/
INSTALL
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# INSTALL
*sshdo* - controls which commands may be executed via incoming ssh
To install sshdo:
tar xzf sshdo-1.1.1.tar.gz
cd sshdo-1.1.1
./configure
make test # optional
sudo make install
This installs (approximately, depending on the operating system):
/usr/bin/sshdo
/etc/sshdoers
/etc/sshdoers.d/
/etc/sshdo.banner
/usr/share/man/man8/sshdo.8
/usr/share/man/man5/sshdoers.5
To install to /usr/local/bin, /usr/local/share/man, and /etc:
sudo make PREFIX=/usr/local install
To install to /usr/local/bin, /usr/local/share/man, and /usr/local/etc:
sudo make PREFIX=/usr/local ETCDIR=/usr/local/etc install
But note that the -C or --config option will need to be used when the config
file is not in the default directory set by the configure script (unless sshdo
is modified to change the default location). This isn't necessary if the
configure script is used to override paths. For more details, see:
./configure --help
To uninstall sshdo:
sudo make uninstall
# REQUIREMENTS
Requires Python 2.6+ or Python 3.3+, an SSH server, and a syslog-compatible
logging system.
# FROM
URL: https://raf.org/sshdo
GIT: https://github.com/raforg/sshdo
GIT: https://codeberg.org/raforg/sshdo
Date: 20230619
Author: raf <[email protected]>