workspaces/ssh/secure-ssh-wrapper.sh
2025-04-17 11:56:35 +01:00

7 lines
181 B
Bash

#!/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 "\$@"