-
-
Save adampielak/33cd87398781028fe1493e6a2edd16f1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Remote wireshark : | |
| with tshark | |
| ssh <REMOTE HOST> sudo tshark -w - not tcp port 22 | wireshark -k -i - | |
| with tcpdump | |
| ssh <REMOTE HOST> sudo tcpdump -U -s0 -w - -i eth0 'not port 22' | wireshark -k -i - | |
| rwireshark () { ssh $1 sudo tcpdump -U -s0 -w - -i eth0 'not port 22' | wireshark -k -i - } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment