Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
FUSS
fuss-server
Commits
3e87fc72
Verified
Commit
3e87fc72
authored
Jan 15, 2022
by
Marco Marinello
Browse files
Further mitigations to allow password login via ssh
parent
91c48b07
Changes
1
Hide whitespace changes
Inline
Side-by-side
ansible/roles/misc/tasks/main.yml
View file @
3e87fc72
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment