mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
Harden SSH access on server profile
This commit is contained in:
@@ -30,3 +30,9 @@ server_templates:
|
||||
server_ufw_rules:
|
||||
- rule: allow
|
||||
name: OpenSSH
|
||||
|
||||
server_sshd_settings:
|
||||
PermitRootLogin: "no"
|
||||
|
||||
server_sshd_allow_users:
|
||||
- "{{ username }}"
|
||||
|
||||
Reference in New Issue
Block a user