This commit is contained in:
2026-05-11 09:15:08 +02:00
parent 9bec2b9e42
commit 404ee3fec4
641 changed files with 416825 additions and 0 deletions
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
if [[ -f /etc/sysconfig/sshd ]]; then
if grep -Pi '^\s*CRYPTO_POLICY\s*=' /etc/sysconfig/sshd; then
echo "CRYPTO_POLICY ist set"
exit 1
else
echo "CRYPTO_POLICY is not set"
fi
else
echo "file /etc/sysconfig/sshd does not exist"
fi
exit 0