Created
November 6, 2017 03:48
-
-
Save cuiwm/2d0ba7bce6f9065791d3bfb287bc5f3e to your computer and use it in GitHub Desktop.
This file contains 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
mkfifo /tmp/fifo; | |
ssh-keygen; | |
ssh-copyid root@remotehostaddress; | |
sudo ssh root@remotehost "tshark -i eth1 -f 'not tcp port 22' -w -" > /tmp/fifo &; | |
sudo wireshark -k -i /tmp/fifo; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment