1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_sshd.git synced 2024-08-16 11:59:49 +02:00

YAML_ERROR too many blank lines

This commit is contained in:
Lilian Roller 2019-05-15 13:43:25 +02:00
parent b0f86737ec
commit f9a6073833
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B

View file

@ -1,20 +1,17 @@
# Attention, do not make changes
# {{ ansible_managed }}
# Networking
Port {{ ssh_port }}
TCPKeepAlive yes
# Key exchange
#KexAlgorithms curve25519-sha256@libssh.org,
# diffie-hellman-group-exchange-sha256
KexAlgorithms curve25519-sha256@libssh.org{%
if use_diffie_hellman_group_exchange_sha256 %},diffie-hellman-group-exchange-sha256{% endif %}
# Server authentication
Protocol 2
HostKey /etc/ssh/ssh_host_ed25519_key
@ -34,7 +31,6 @@ PubkeyAuthentication yes
# and ChallengeResponseAuthentication to 'no'.
UsePAM yes
# User Authentication
{% if restrict_allow_users|default(True) %}
AllowUsers {{ sshd_allow_users|join(' ') }}
@ -50,7 +46,6 @@ StrictModes yes
{% if only_allow_ed25519 == false %}# {%
endif %}PubkeyAcceptedKeyTypes ssh-ed25519-cert-v01@openssh.com,ssh-ed25519
# Symmetric ciphers
#Ciphers chacha20-poly1305@openssh.com,
# aes256-gcm@openssh.com,
@ -83,5 +78,4 @@ PrintMotd no
# sftp (required by ansible)
Subsystem sftp /usr/lib/openssh/sftp-server
# ETC