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

Fixx sshd config variables

parent e7120aa2
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# !!! # !!!
Protocol 2 Protocol 2
Port {{ ssh.port }} Port {{ base_ssh.port }}
HostKey /etc/ssh/ssh_host_rsa_key HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ed25519_key HostKey /etc/ssh/ssh_host_ed25519_key
...@@ -13,9 +13,9 @@ KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256 ...@@ -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 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 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 }} PermitRootLogin {{ base_ssh.permitRootLogin }}
PubkeyAuthentication {{ ssh.pubkeyAuthentication }} PubkeyAuthentication {{ base_ssh.pubkeyAuthentication }}
PasswordAuthentication {{ ssh.passwordAuthentication }} PasswordAuthentication {{ base_ssh.passwordAuthentication }}
MaxAuthTries 6 MaxAuthTries 6
...@@ -31,9 +31,9 @@ AcceptEnv LANG LC_* ...@@ -31,9 +31,9 @@ AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server Subsystem sftp /usr/lib/openssh/sftp-server
{% if ssh.allow.users is defined %} {% if base_ssh.allow.users is defined %}
AllowUsers {{ ssh.allow.users }} AllowUsers {{ base_ssh.allow.users }}
{% endif %} {% endif %}
{% if ssh.allow.groups is defined %} {% if base_ssh.allow.groups is defined %}
AllowGroups {{ ssh.allow.groups }} AllowGroups {{ base_ssh.allow.groups }}
{% endif %} {% endif %}
Supports Markdown
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