You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
827 B

  1. Port {{ ssh_port|default(22) }}
  2. ListenAddress {{ ssh_ipv4_listen|default("0.0.0.0") }}
  3. ListenAddress {{ ssh_ipv6_listen|default("::") }}
  4. HostKey /etc/ssh/ssh_host_ed25519_key
  5. Ciphers chacha20-poly1305@openssh.com
  6. MACs umac-128-etm@openssh.com
  7. KexAlgorithms curve25519-sha256@libssh.org
  8. AuthorizedKeysFile {{ ssh_authorizedkeysfile|default(".ssh/authorized_keys") }}
  9. UseDNS no
  10. SyslogFacility AUTHPRIV
  11. PasswordAuthentication {{ ssh_pwd_authent|default("no") }}
  12. ChallengeResponseAuthentication no
  13. GSSAPIAuthentication yes
  14. GSSAPICleanupCredentials no
  15. UsePAM yes
  16. UsePrivilegeSeparation sandbox
  17. X11Forwarding yes
  18. AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
  19. AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
  20. AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
  21. Subsystem sftp {{ sftp_path }}