Created a role for initial lockdown of recent VPS, and started role for basic server configuration

This commit is contained in:
Alex Tavarez
2025-09-05 00:43:14 -04:00
parent e427da26a6
commit 0cafb4968b
12 changed files with 296 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
Match Group ftp
ForceCommand internal-sftp -u 003 -d /%u
AuthorizedKeysFile /srv/.ftp/authorized_keys
ChrootDirectory /srv/ftp
PasswordAuthentication no
AllowAgentForwarding no
AllowTcpForwarding no
X11Forwarding no