10 lines
157 B
Bash
10 lines
157 B
Bash
#!/bin/bash
|
|
# Example: block push or connections to some hosts
|
|
|
|
if [[ "$*" != *"gitea"* ]]; then
|
|
echo "❌ Outbound SSH is restricted"
|
|
exit 1
|
|
fi
|
|
|
|
exit 0
|