Skip to content

Commit

Permalink
Merge pull request #43 from cnotin/patch-1
Browse files Browse the repository at this point in the history
sshd_config: PermitTunnel no
  • Loading branch information
johanmeiring authored Apr 30, 2020
2 parents 13926b1 + 01b8025 commit 3278676
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
Match Group {{ sftp_group_name }}
ChrootDirectory %h
AllowTCPForwarding no
PermitTunnel no
X11Forwarding no
ForceCommand internal-sftp {{ sftp_enable_logging | ternary('-l VERBOSE', '') }} {{ (sftp_start_directory in sftp_directories) | ternary('-d /' + sftp_start_directory, '') }}
PasswordAuthentication {{ sftp_allow_passwords | ternary('yes', 'no') }}
Expand Down

0 comments on commit 3278676

Please sign in to comment.