rwshark/rwshark

7 lines
133 B
Bash
Executable File

#!/bin/sh
#
# Usage:
# rwshark <host> <port> <interface>
ssh -p $2 $1 tcpdump -i $3 -U -s0 -w - "not port ${2}" | wireshark -k -i -