summaryrefslogtreecommitdiff
path: root/others/reset-ssh-connections.sh
diff options
context:
space:
mode:
authorroot <root@sg1.noml.ch>2025-05-22 18:36:01 +0800
committerroot <root@sg1.noml.ch>2025-05-22 18:36:01 +0800
commit3a52e92fbbbab4df949740f89a389d68281a9428 (patch)
tree5cb3b864eb0e3f3b90a1efd9cbdee1fb9f158f4a /others/reset-ssh-connections.sh
parent8cb260002db7c46ea5fe2c3f589b485e5f5d970d (diff)
Diffstat (limited to 'others/reset-ssh-connections.sh')
-rwxr-xr-xothers/reset-ssh-connections.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/others/reset-ssh-connections.sh b/others/reset-ssh-connections.sh
deleted file mode 100755
index f19300d..0000000
--- a/others/reset-ssh-connections.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-ss -tnp | grep ':22'
-ps -ef | grep sshd | grep -v grep | awk '{if($3!=1) print $2}' | xargs kill
-#sudo systemctl restart sshd