Created a role for initial lockdown of recent VPS, and started role for basic server configuration
This commit is contained in:
3
.ansible/roles/bootstrap/defaults/main.yml
Normal file
3
.ansible/roles/bootstrap/defaults/main.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
#SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# defaults file for bootstrap
|
@@ -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
|
Reference in New Issue
Block a user