diff options
| author | Akshay Bhat <nodeax@gmail.com> | 2022-01-21 11:32:39 -0500 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2022-02-20 19:38:30 -0800 |
| commit | 9cd85e054fc8b3844e9bb74f34f4402029182844 (patch) | |
| tree | 068ddbafaff05a5a6cdcfab25ae552875059fa79 /meta-hardening/recipes-connectivity | |
| parent | 7898fc8117c81a08af6e266a9f21e57bc3978b3a (diff) | |
| download | meta-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_%.bbappend | 2 |
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 @@ | |||
| 1 | do_install:append_harden () { | 1 | do_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 |
