summaryrefslogtreecommitdiff
path: root/others/reset-ssh-connections.sh
diff options
context:
space:
mode:
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