ansible-infra/roles/common/templates/openssh/sshd_config.j2

24 lines
347 B
Plaintext
Raw Normal View History

2020-04-13 14:46:45 +02:00
# {{ ansible_managed }}
Port {{ openssh_port }}
PermitRootLogin no
ChallengeResponseAuthentication no
UsePAM yes
X11Forwarding yes
PrintMotd no
AcceptEnv LANG LC_*
Subsystem sftp internal-sftp
Match Group {{ backup_owner }}
X11Forwarding no
AllowTcpForwarding no
ChrootDirectory {{ backup_chroot_dir }}
ForceCommand internal-sftp