diff --git a/ssh/ssh_blocker.sh b/ssh/ssh_blocker.sh old mode 100644 new mode 100755 index a551208..2945984 --- a/ssh/ssh_blocker.sh +++ b/ssh/ssh_blocker.sh @@ -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