7 lines
173 B
Bash
Executable File
7 lines
173 B
Bash
Executable File
#!/bin/bash
|
|
if ! /opt/secure/ssh/ssh_blocker.sh "$@"; then
|
|
echo "❌ Restricted access"
|
|
exit 1
|
|
fi
|
|
exec ssh -F /opt/secure/ssh/config -i /opt/secure/ssh/id_ed25519 "\$@"
|