enhanced makefile, added pubnix jail role, fixed knownhosts issue

This commit is contained in:
2024-11-12 14:08:53 +01:00
parent 562fec8549
commit a82f6e61e8
9 changed files with 110 additions and 37 deletions

View 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

View 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