summaryrefslogtreecommitdiffstats
path: root/wireshark-remote
blob: a7116b79ad60a18fd5a86d6731bc59a91d17892f (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

host="$1"
iface="$2"

#wireshark -k -i <(ssh "$host" tshark -i "$iface" -w - not tcp port 22)
#wireshark -k -i <(ssh "$host" dumpcap -q -i "$iface" -w /dev/stdout 'not\ tcp\ port\ 22')
wireshark-gtk -k -i <(ssh "$host" dumpcap -q -P -i "$iface" -w - -f 'not\ port\ 22')
#wireshark -k -i <(ssh "$host" /home/flo/capture.sh "$iface")