7 lines
182 B
Bash
7 lines
182 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 "\$@"
|