Skip to content

Instantly share code, notes, and snippets.

@hetelek
Created August 20, 2022 06:45
Show Gist options
  • Save hetelek/9a96eeef35fe0b42ccebd003ed67a4cd to your computer and use it in GitHub Desktop.
Save hetelek/9a96eeef35fe0b42ccebd003ed67a4cd to your computer and use it in GitHub Desktop.
Wireshark over SSH MacOS
ssh -i ~/.ssh/key ec2-user@IP_ADDR "sudo tcpdump -i any -U -s0 -w - 'not port 22'" | /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