From 134c476cb0ed0ab55eed473d52c217fa63cd8402 Mon Sep 17 00:00:00 2001 From: dabruh <11458706-dabruh@users.noreply.gitlab.com> Date: Tue, 7 Jun 2022 11:50:42 +0200 Subject: [PATCH] Kills remote sessions. --- .local/bin/kill-remote-sessions | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 .local/bin/kill-remote-sessions diff --git a/.local/bin/kill-remote-sessions b/.local/bin/kill-remote-sessions new file mode 100755 index 0000000..764704a --- /dev/null +++ b/.local/bin/kill-remote-sessions @@ -0,0 +1,5 @@ +#!/bin/bash + +pkill -fe 'kubectl exec' +pkill -fe 'ssh ' +