Skip to content

Instantly share code, notes, and snippets.

@gitrc
Last active December 28, 2015 17:19

Revisions

  1. gitrc renamed this gist Nov 18, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. gitrc created this gist Nov 18, 2013.
    7 changes: 7 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    #!/bin/sh
    #
    # from your workstation run below where <expression> is your tcpdump expression
    # works great on OSX
    #

    ssh root@destination.host "/path/to/tcpdump -s 0 -U -w - -i ethX <expression>" |wireshark -i - -k