V8.13.536.2025.12.04
Some checks failed
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Has been cancelled
Some checks failed
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Has been cancelled
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -44,8 +44,11 @@ chmod 0600 /etc/ssh/ssh_host_*_key
|
|||||||
chown root:root /etc/ssh/ssh_host_*_key
|
chown root:root /etc/ssh/ssh_host_*_key
|
||||||
chmod 0644 /etc/ssh/ssh_host_*_key.pub
|
chmod 0644 /etc/ssh/ssh_host_*_key.pub
|
||||||
chown root:root /etc/ssh/ssh_host_*_key.pub
|
chown root:root /etc/ssh/ssh_host_*_key.pub
|
||||||
chmod 0440 /etc/ssh/*sha256sum.txt
|
|
||||||
chown root:root /etc/ssh/*sha256sum.txt
|
if compgen -G "/etc/ssh/*sha256sum.txt" > /dev/null; then
|
||||||
|
chmod 0440 /etc/ssh/*sha256sum.txt
|
||||||
|
chown root:root /etc/ssh/*sha256sum.txt
|
||||||
|
fi
|
||||||
|
|
||||||
awk '$5 >= 4000' /etc/ssh/moduli >| /etc/ssh/moduli.safe
|
awk '$5 >= 4000' /etc/ssh/moduli >| /etc/ssh/moduli.safe
|
||||||
rm -rf /etc/ssh/moduli
|
rm -rf /etc/ssh/moduli
|
||||||
|
|||||||
Reference in New Issue
Block a user