Ask Your Question

Wireshark ssh capture (plink + tcpdump)

asked 2020-12-03 12:29:27 +0000

Santiago gravatar image

updated 2020-12-03 15:36:48 +0000

Hello everyone,

So I'm trying to capture traffic from a remote system but I get no packets on Wireshark.

The scenario is:

Windows10 --> SSH to Linux --> SSH to QNX

I have to capture traffic from the QNX system and, in order to do that, I need to go through the Linux system.

So this is the command that I'm using (from Wireshark directory):

"c:/Program Files/Putty/plink.exe" -ssh -batch [email protected] "ssh -q [email protected] tcpdump -s 0 -U -i eth0 -w - 'not port 22'"|"Wireshark.exe" -k -i -

tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes

It runs and I can see that it listens but no packets on Wireshark. Any ideas?

Thanks in advance!

Edit 1: Wireshark version:

C:\Program Files\Wireshark>

Wireshark 3.4.0 (v3.4.0-0-g9733f173ea5e)

Copyright 1998-2020 Gerald Combs <[email protected]> and contributors.
License GPLv2+: GNU GPL version 2 or later <>
This is free software; see the source for copying conditions. There is NO

Compiled (64-bit) with Qt 5.15.1, with libpcap, with GLib 2.52.3, with zlib
1.2.11, with SMI 0.4.8, with c-ares 1.15.0, with Lua 5.2.4, with GnuTLS 3.6.3
and PKCS #11 support, with Gcrypt 1.8.3, with MIT Kerberos, with MaxMind DB
resolver, with nghttp2 1.39.2, with brotli, with LZ4, with Zstandard, with
Snappy, with libxml2 2.9.9, with QtMultimedia, with automatic updates using
WinSparkle 0.5.7, with AirPcap, with SpeexDSP (using bundled resampler).

Running on 64-bit Windows 10 (1809), build 17763, with Intel(R) Core(TM)
i7-9850H CPU @ 2.60GHz (with SSE4.2), with 32575 MB of physical memory, with
locale Spanish_Spain.utf8, with Npcap version 1.00, based on libpcap version
1.9.1, with GnuTLS 3.6.3, with Gcrypt 1.8.3, with brotli 1.0.2, without AirPcap,
binary plugins supported (0 loaded).

Built using Microsoft Visual Studio 2019 (VC++ 14.27, build 29112).
edit retag flag offensive close merge delete


Can you add the output of wireshark -v or Help->About Wireshark:Wireshark.

Chuckc gravatar imageChuckc ( 2020-12-03 15:19:54 +0000 )edit

Edited with Wireshark verison output.

Santiago gravatar imageSantiago ( 2020-12-03 15:37:28 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-12-03 15:59:56 +0000

Chuckc gravatar image

Capture from stdin not working in 3.4.0.
3.4.1 is due out next week (Dec 9) or downgrade to an earlier version or you can try an automatic build for 3.4.1 or 3.5.0.

edit flag offensive delete link more


Thanks for answering. I'll test tomorrow and give feedback.

Santiago gravatar imageSantiago ( 2020-12-03 18:35:51 +0000 )edit

So, yes, my problem was with Wireshark version. It was driving me crazy, thanks man!

Santiago gravatar imageSantiago ( 2020-12-04 08:48:03 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2020-12-03 12:29:27 +0000

Seen: 82 times

Last updated: Dec 03 '20