summaryrefslogtreecommitdiff
path: root/playbooks/templates/ssh/hardening.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/templates/ssh/hardening.conf.j2')
-rw-r--r--playbooks/templates/ssh/hardening.conf.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/playbooks/templates/ssh/hardening.conf.j2 b/playbooks/templates/ssh/hardening.conf.j2
new file mode 100644
index 0000000..77815bd
--- /dev/null
+++ b/playbooks/templates/ssh/hardening.conf.j2
@@ -0,0 +1,4 @@
+Port {{ ssh_port }}
+PasswordAuthentication no
+KbdInteractiveAuthentication no
+PermitRootLogin no