1 2 3 4 5 6
#!/bin/bash host="$1" iface="$2" wireshark -k -i <(ssh "$host" tshark -i "$iface" -w - not tcp port 22)