summaryrefslogtreecommitdiffstats
path: root/wireshark-remote
diff options
context:
space:
mode:
Diffstat (limited to 'wireshark-remote')
-rwxr-xr-xwireshark-remote6
1 files changed, 6 insertions, 0 deletions
diff --git a/wireshark-remote b/wireshark-remote
new file mode 100755
index 0000000..ea295f5
--- /dev/null
+++ b/wireshark-remote
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+host="$1"
+iface="$2"
+
+wireshark -k -i <(ssh "$host" tshark -i "$iface" -w - not tcp port 22)