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

I am getting “End of file on pipe magic during open.” error.

0

So i have proxy in the cloud and im accessing it with ssh and now when i want to use wireshark to start capturing traffic on that proxy i must start tshark in that server.

Code :

wireshark -k -i <(ssh [email protected] "tshark -F pcap -w - -f 'not tcp port x'")

This is what i get in terminal:

[[email protected] Domain ~]$ wireshark -k -i <(ssh [email protected] "tshark -F pcap -w - -f 'not tcp port x'")

Enter passphrase for key '/home/OSUserName/.ssh/id_rsa':

[email protected]'s password:

Permission denied, please try again.

[email protected]'s password:

Permission denied, please try again.

[email protected]'s password:

Permission denied (publickey,password).

asked 15 Jan '17, 07:05

anderer455's gravatar image

anderer455
6112
accept rate: 0%

Fedora 25 And wireshark fully configured on main machine. (2.2.2 version)

(15 Jan '17, 07:06) anderer455
(15 Jan '17, 08:30) Jaap ♦

No this is not helping :/

(15 Jan '17, 08:52) anderer455

Okay, I see two differences from that page: 1. The use of a password, which should either be solved through a ssh-agent or the use of a fifo, and 2. the use if dumpcap instead of tshark.

(15 Jan '17, 11:44) Jaap ♦