summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-01-09 16:12:48 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-01-09 16:12:48 +0000
commitb31cdd0d8d5a954399a81addf3c63a33920b1f62 (patch)
tree12d0178d7ce0e246a8811e57676dd0b64c9d7478 /admin
parent84b9cc1b8e26f2799879f57226c0bcb11bd8b7b6 (diff)
downloadinfrastructure-b31cdd0d8d5a954399a81addf3c63a33920b1f62.tar.gz
Note that all systems should prevent SSH login with password
Diffstat (limited to 'admin')
-rw-r--r--admin/sshd_config.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/admin/sshd_config.yaml b/admin/sshd_config.yaml
new file mode 100644
index 00000000..dda981b2
--- /dev/null
+++ b/admin/sshd_config.yaml
@@ -0,0 +1,7 @@
+---
+- hosts: all
+ tasks:
+ - name: ensure SSH login with password is disabled
+ lineinfile:
+ dest=/etc/ssh/sshd_config
+ line='PasswordAuthentication no'