This commit is contained in:
Aryan Singh committed 2026-09-12 19:22:35 -05:00
1 parent ca1073beda
commit 249f0b844b
5 files changed
+58 -1

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
if [[ "$1" == "all" ]]; then
for i in {1..10}; do
echo "Killing server$i..."
vpn ssh -o BatchMode=yes "server$i" "fuser -k -9 5055/tcp"
echo ""
done
else
for i in "$@"; do
echo "Killing server$i..."
vpn ssh -o BatchMode=yes "server$i" "fuser -k -9 5055/tcp"
echo ""
done
fi