enhanced makefile, added pubnix jail role, fixed knownhosts issue
This commit is contained in:
6
roles/pubnix/files/Bastillefile
Normal file
6
roles/pubnix/files/Bastillefile
Normal file
@@ -0,0 +1,6 @@
|
||||
PKG bash
|
||||
SYSRC sshd_enable=YES
|
||||
CMD mkdir -p /data/home
|
||||
SERVICE nginx restart
|
||||
FSTAB /data/home data/home nullfs ro 0 0
|
||||
RDR tcp 22 22
|
||||
14
roles/pubnix/files/sshd_config
Normal file
14
roles/pubnix/files/sshd_config
Normal file
@@ -0,0 +1,14 @@
|
||||
LogLevel INFO
|
||||
LoginGraceTime 1m
|
||||
PermitRootLogin no
|
||||
StrictModes yes
|
||||
MaxAuthTries 3
|
||||
MaxSessions 2
|
||||
PubkeyAuthentication yes
|
||||
PasswordAuthentication no
|
||||
KbdInteractiveAuthentication no
|
||||
AllowAgentForwarding no
|
||||
AllowTcpForwarding no
|
||||
GatewayPorts no
|
||||
X11Forwarding no
|
||||
|
||||
Reference in New Issue
Block a user