rwshark/rwshark

7 lines
138 B
Bash
Executable File

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