diff options
-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}'` + |