Verified Commit 3e87fc72 authored by Marco Marinello's avatar Marco Marinello
Browse files

Further mitigations to allow password login via ssh

parent 91c48b07
......@@ -40,6 +40,14 @@
name: sshaccess
state: present
- name: Remove PasswordAuthentication no from sshd_config
lineinfile:
path: /etc/ssh/sshd_config
line: "PasswordAuthentication no"
state: absent
notify:
- restart sshd
- name: Configure sshd
blockinfile:
backup: yes
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment