This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Remote capture from Windows to Linux - ‘Error reading from pipe’

0

I'm trying to capture using tshark on a remote Debian system. My local machine is Windows 10, running Wireshark 2.0.5.

I'm using plink to setup the connection with the remote system, with the following command: plink -l username 192.168.10.10 "tshark -i eth0 -w -" | wireshark.exe -k -i -

The connection gets established, the terminal prints "Capturing on 'eth0'", and Wireshark opens on my local system.

After Wireshark finishes loading, an error pops up and says Error reading from pipe: The operation completed successfully. (error 0)

The user I'm logging in to the remote system as can run tshark. When I SSH in to the remote system and run tshark within the shell on that system, everything looks fine.

I'm not sure where the pipe is failing. Any suggestions?

asked 28 Jul '16, 10:09

sunnyside's gravatar image

sunnyside
6112
accept rate: 0%