configpolicy/roles/fileserver/templates/sftp-only.sshd_config.j2

12 lines
283 B
Django/Jinja

Match {{ fileserver_sftp_only_match }}
AllowAgentForwarding no
AllowStreamLocalForwarding no
AllowTcpForwarding no
DisableForwarding yes
ForceCommand internal-sftp
PermitListen none
PermitOpen none
PermitTTY no
PermitTunnel no
PermitUserRC no