summaryrefslogtreecommitdiffstats
path: root/wireshark-remote
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-07-10 21:46:09 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-07-10 21:48:01 +0200
commitd2a44efbe707b7210107fabce58fb99c1a3b251e (patch)
treec5527ba09d85d044326a06393ad8d0f88d8ac167 /wireshark-remote
parent5a311acfe51d396dd65fe72ec478ceebea64f6c1 (diff)
downloadbin-d2a44efbe707b7210107fabce58fb99c1a3b251e.tar.gz
bin-d2a44efbe707b7210107fabce58fb99c1a3b251e.tar.xz
mass commit
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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)