fix(ssh): change allow host

This commit is contained in:
yeti 2025-04-18 19:15:32 +01:00
parent 740af9bf27
commit 020e6641f8

3
ssh/ssh_blocker.sh Normal file → Executable file
View File

@ -1,8 +1,7 @@
#!/bin/bash
# Example: block push or connections to some hosts
if [[ "$*" != *"gitea"* ]]; then
echo "❌ Outbound SSH is restricted"
if [[ "$*" != *"alps"* ]]; then
exit 1
fi