dotfiles/.local/bin/kill-remote-sessions

9 lines
148 B
Plaintext
Raw Normal View History

2022-06-07 11:50:42 +02:00
#!/bin/bash
2022-06-08 21:23:51 +02:00
# kill-remote-sessions
#
# Kills *any* active or inactive 'kubectl exec' or 'ssh' sessions.
2022-06-07 11:50:42 +02:00
pkill -fe 'kubectl exec'
pkill -fe 'ssh '