Skip to content

Commit

Permalink
DLPX-87656 Enable SFTP for Internal Variants
Browse files Browse the repository at this point in the history
  • Loading branch information
dbshah12 committed Sep 7, 2023
1 parent cea781e commit f4c9c7a
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -300,12 +300,18 @@
#
- variant is regex("external-.*")
#
# Harden the appliance by disabling SFTP.
# Harden the appliance by disabling SFTP on external variants.
#
- replace:
path: /etc/ssh/sshd_config
regexp: '^(Subsystem.*sftp.*)'
replace: '#\1'
when:
#
# Disable sftp on external variants and leave it enabled on internal
# variants for developer convenience and to facilitate test automation.
#
- variant is regex("external-.*")

#
# Ssh leads to the CLI, not bash, so let's remove all the linuxy shell goodies,
Expand Down

0 comments on commit f4c9c7a

Please sign in to comment.