summaryrefslogtreecommitdiffstats
path: root/meta-hardening/recipes-connectivity
diff options
context:
space:
mode:
authorAkshay Bhat <nodeax@gmail.com>2022-01-21 11:32:39 -0500
committerArmin Kuster <akuster808@gmail.com>2022-02-20 19:38:30 -0800
commit9cd85e054fc8b3844e9bb74f34f4402029182844 (patch)
tree068ddbafaff05a5a6cdcfab25ae552875059fa79 /meta-hardening/recipes-connectivity
parent7898fc8117c81a08af6e266a9f21e57bc3978b3a (diff)
downloadmeta-security-9cd85e054fc8b3844e9bb74f34f4402029182844.tar.gz
meta-hardening: Fix override syntax
Commit 352e6498a missed updating the override syntax for the "harden" distro override. Fixes: 352e6498a ("meta-hardening: Convert to new override syntax") Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-hardening/recipes-connectivity')
-rw-r--r--meta-hardening/recipes-connectivity/openssh/openssh_%.bbappend2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-hardening/recipes-connectivity/openssh/openssh_%.bbappend b/meta-hardening/recipes-connectivity/openssh/openssh_%.bbappend
index 17c06ed..e192d3d 100644
--- a/meta-hardening/recipes-connectivity/openssh/openssh_%.bbappend
+++ b/meta-hardening/recipes-connectivity/openssh/openssh_%.bbappend
@@ -1,4 +1,4 @@
1do_install:append_harden () { 1do_install:append:harden () {
2 # to hardend 2 # to hardend
3 sed -i -e 's:#AllowTcpForwarding yes:AllowTcpForwarding no:' ${D}${sysconfdir}/ssh/sshd_config 3 sed -i -e 's:#AllowTcpForwarding yes:AllowTcpForwarding no:' ${D}${sysconfdir}/ssh/sshd_config
4 sed -i -e 's:ClientAliveCountMax 4:ClientAliveCountMax 2:' ${D}${sysconfdir}/ssh/sshd_config 4 sed -i -e 's:ClientAliveCountMax 4:ClientAliveCountMax 2:' ${D}${sysconfdir}/ssh/sshd_config