2023-04-07 14:26:09 +02:00
|
|
|
Port 22
|
2023-04-17 16:00:37 +02:00
|
|
|
{% if evolinux_root_disable_ssh %}
|
2023-04-07 14:26:09 +02:00
|
|
|
PermitRootLogin no
|
2023-04-17 16:00:37 +02:00
|
|
|
{% endif %}
|
2023-04-07 14:26:09 +02:00
|
|
|
LogLevel VERBOSE
|
|
|
|
SetEnv LC_ALL=en_US.UTF-8
|
|
|
|
|
|
|
|
{% if evolinux_ssh_password_auth_addresses %}
|
|
|
|
Match Address {{ evolinux_ssh_password_auth_addresses | join(',') }}
|
|
|
|
PasswordAuthentication yes
|
|
|
|
{% endif %}
|
|
|
|
{% if evolinux_internal_group %}
|
|
|
|
Match Group {{ evolinux_internal_group }}
|
|
|
|
PasswordAuthentication no
|
|
|
|
{% endif %}
|