feat(ssh): secure_ssh_wrapper script for git

This commit is contained in:
phoenix 2025-04-17 10:00:37 +01:00
parent 9166563afe
commit e8331a12e2

View File

@ -0,0 +1,6 @@
#!/bin/bash
if ! /etc/ssh-client/ssh_blocker.sh "\$@"; then
echo "❌ Blocked by ssh_blocker.sh"
exit 1
fi
exec ssh -F /opt/secure/ssh/config -i /opt/secure/ssh/id_ed25519 "\$@"