forked from ISTI-ansible-roles/ansible-roles
Merge branch 'master' of adellam/ansible-roles into master
This commit is contained in:
commit
a5ab5690e9
|
@ -96,15 +96,12 @@ AcceptEnv LANG LC_*
|
||||||
UsePAM {{ sshd_use_pam }}
|
UsePAM {{ sshd_use_pam }}
|
||||||
|
|
||||||
{% if sshd_enable_sftp_subsystem %}
|
{% if sshd_enable_sftp_subsystem %}
|
||||||
{% if ansible_distribution_file_variety == 'RedHat' %}
|
Subsystem sftp internal-sftp
|
||||||
Subsystem sftp /usr/libexec/openssh/sftp-server
|
|
||||||
{% else %}
|
|
||||||
Subsystem sftp /usr/lib/openssh/sftp-server
|
|
||||||
{% endif %}
|
|
||||||
{% if sshd_enable_sftp_jail %}
|
{% if sshd_enable_sftp_jail %}
|
||||||
Match Group {{ sshd_sftp_chroot_match_group }}
|
Match Group {{ sshd_sftp_chroot_match_group }}
|
||||||
ChrootDirectory {{ sshd_sftp_chroot_directory }}
|
ChrootDirectory {{ sshd_sftp_chroot_directory }}
|
||||||
ForceCommand {{ sshd_sftp_force_command }}
|
X11Forwarding no
|
||||||
|
AllowTcpForwarding no
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue