Skip to content
Snippets Groups Projects
Commit b0440ddb authored by Pierre Ozoux's avatar Pierre Ozoux Committed by GitHub
Browse files

Stricter sshd config

parent e76505cd
No related branches found
No related tags found
No related merge requests found
#cloud-config
write_files:
- path: /etc/ssh/sshd_config
permissions: 0600
owner: root:root
content: |
# Use most defaults for sshd configuration.
UsePrivilegeSeparation sandbox
Subsystem sftp internal-sftp
PermitRootLogin no
AllowUsers core
PasswordAuthentication no
ChallengeResponseAuthentication no
- path: /etc/sysctl.d/libresh.conf
permissions: 0644
owner: root
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment