summaryrefslogtreecommitdiffstats
path: root/wireshark-remote
blob: 0d4793d73076621a9c61584caece8c17220e63be (plain)
1
2
3
4
5
6
7
8
#!/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 -k -i <(ssh "$host" /home/flo/capture.sh "$iface")