Skip to content

Instantly share code, notes, and snippets.

@snowch
Last active May 16, 2020 21:49
Show Gist options
  • Save snowch/6c801505a90f867a54e5efd055188700 to your computer and use it in GitHub Desktop.
Save snowch/6c801505a90f867a54e5efd055188700 to your computer and use it in GitHub Desktop.
tcpdump over ssh to wireshark
ssh user@remotehost tcpdump -i eth1 -U -s0 -w - 'not port 22' | sudo wireshark -k -i -
ssh user@remotehost tcpdump -i eth1 -U -s0 -w - 'not port 22' | sudo /Applications/Wireshark.app/Contents/MacOS/Wireshark -k -i -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment