Tracing with Wireshark on a remote PC via ssh
Open two terminals !
In the first terminal:
mkfifo /tmp/fifofo
ssh root@123.123.123.123 "sudo tcpdump -s 0 -U -n -w - -i any not port 22" > /tmp/fifofo
In the second terminal:
wireshark -k -i /tmp/fifofo
Now go back to the first terminal and type in the password.
Now you should see the trace in Wireshark!
Written by justGoscha
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#