summaryrefslogtreecommitdiffstats
path: root/kill-ssh
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2021-05-25 13:47:25 +0200
committerFlorian Pritz <bluewind@xinu.at>2021-05-25 13:54:08 +0200
commitc7d311ceb784fea5c40efeb4bda351e4db904cf0 (patch)
tree675d259b5413a974d08c9f466daf790867fa63a6 /kill-ssh
parentd7d00394ce02b8b2d4b6ffdda84d724e5a18b287 (diff)
downloadbin-c7d311ceb784fea5c40efeb4bda351e4db904cf0.tar.gz
bin-c7d311ceb784fea5c40efeb4bda351e4db904cf0.tar.xz
Add kill-ssh
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'kill-ssh')
-rwxr-xr-xkill-ssh3
1 files changed, 3 insertions, 0 deletions
diff --git a/kill-ssh b/kill-ssh
new file mode 100755
index 0000000..6d171df
--- /dev/null
+++ b/kill-ssh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+pkill -f '^ssh: '"$HOME"'/.ssh/multi/.* \[mux\]$'