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 |
Fedora 25 And wireshark fully configured on main machine. (2.2.2 version)
Maybe this can help: https://wiki.wireshark.org/CaptureSetup/Pipes#Remote_Capture
No this is not helping :/
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.