fix(ssh): change allow host
This commit is contained in:
parent
740af9bf27
commit
020e6641f8
3
ssh/ssh_blocker.sh
Normal file → Executable file
3
ssh/ssh_blocker.sh
Normal file → Executable 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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user