Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Freifunk Luebeck
gateway-config
Commits
3fde3e41
Commit
3fde3e41
authored
May 19, 2022
by
Paul
Browse files
disable password authentication for all users
parent
5d27d0d3
Pipeline
#5442
passed with stage
in 1 minute and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
roles/base/tasks/base.yml
View file @
3fde3e41
...
...
@@ -22,13 +22,12 @@
dest
:
/etc
-
name
:
Disable
root login with
password
-
name
:
Disable password
login
tags
:
[
base
]
notify
:
restart sshd
lineinfile
:
dest
:
/etc/ssh/sshd_config
regexp
:
"
^#?PermitRootLogin"
line
:
"
PermitRootLogin
without-password"
line
:
"
PasswordAuthentication
no"
# configurations and stuff
...
...
Write
Preview
Supports
Markdown
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