diff options
author | Calvin Morrison <calvin@fastmailteam.com> | 2023-02-23 09:19:36 -0500 |
---|---|---|
committer | Calvin Morrison <calvin@fastmailteam.com> | 2023-02-23 09:19:36 -0500 |
commit | b4400f9c7465cedf7afdff0ee4a2a24b13e1885d (patch) | |
tree | aeab1dc7d8125562dd70d12fe0cd1e2fcc13a8b9 |
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | config | 3 | ||||
-rwxr-xr-x | killssh | 3 |
3 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..e80daa2 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ + +Do you use persistant connections? + + +Do they get stuck when you unsleep your laptop? + + +use kill-ssh! make your life easy. @@ -0,0 +1,3 @@ +ControlMaster auto +ControlPath /home/user/.ssh/control/master-%r@%h:%p +ControlPersist true @@ -0,0 +1,3 @@ +#!/bin/bash +kill `ps aux | grep '\[mux\]$' | awk '{print $2" "$12}' | sed -e 's/-22-.*.control//' | sed -e 's, .*/, ,' | dmenu | awk '{print $1}'` + |