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

9 lines
148 B
Bash
Executable File

#!/bin/bash
# kill-remote-sessions
#
# Kills *any* active or inactive 'kubectl exec' or 'ssh' sessions.
pkill -fe 'kubectl exec'
pkill -fe 'ssh '