feat(ssh): secure_ssh_wrapper script for git
This commit is contained in:
parent
9166563afe
commit
e8331a12e2
6
ssh/secure-ssh-wrapper.sh
Normal file
6
ssh/secure-ssh-wrapper.sh
Normal 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 "\$@"
|
Loading…
x
Reference in New Issue
Block a user