Verified Commit 7b7e771d authored by rlacko's avatar rlacko 💬
Browse files

Fixx sshd config variables

parent e7120aa2
......@@ -4,7 +4,7 @@
# !!!
Protocol 2
Port {{ ssh.port }}
Port {{ base_ssh.port }}
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
......@@ -13,9 +13,9 @@ KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,umac-128@openssh.com
PermitRootLogin {{ ssh.permitRootLogin }}
PubkeyAuthentication {{ ssh.pubkeyAuthentication }}
PasswordAuthentication {{ ssh.passwordAuthentication }}
PermitRootLogin {{ base_ssh.permitRootLogin }}
PubkeyAuthentication {{ base_ssh.pubkeyAuthentication }}
PasswordAuthentication {{ base_ssh.passwordAuthentication }}
MaxAuthTries 6
......@@ -31,9 +31,9 @@ AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
{% if ssh.allow.users is defined %}
AllowUsers {{ ssh.allow.users }}
{% if base_ssh.allow.users is defined %}
AllowUsers {{ base_ssh.allow.users }}
{% endif %}
{% if ssh.allow.groups is defined %}
AllowGroups {{ ssh.allow.groups }}
{% if base_ssh.allow.groups is defined %}
AllowGroups {{ base_ssh.allow.groups }}
{% endif %}
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