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

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

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 ♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1,620
×832
×25

question asked: 15 Jan '17, 07:05

question was seen: 2,866 times

last updated: 15 Jan '17, 11:44

p​o​w​e​r​e​d by O​S​Q​A