From 020e6641f807de357c2f40cab61df69c0977921a Mon Sep 17 00:00:00 2001 From: yeti Date: Fri, 18 Apr 2025 19:15:32 +0100 Subject: [PATCH] fix(ssh): change allow host --- ssh/ssh_blocker.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) mode change 100644 => 100755 ssh/ssh_blocker.sh 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