wireshark ssh remote connect on linux server


First, install the optional component from Tools section of Wireshark installer


Then, select config gear of the SSH remote capture from the welcome screen


Configure the following information:
    
    Server ip/hostname and port

    Remote user name and private rsa key in OpenSSH format (use puttygen > conversions > export openssh key)
 (user and password should work too)
You shouldn't have to change anything in Capture tab

If you get an error linked to Kex algos:

Error by extcap pipe: 
** (sshdump.exe:8216): WARNING **: Error creating connection.

** (sshdump.exe:8216): WARNING **: Connection error: kex error : no match for method kex algos: server [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256], client [diffie-hellman-group14-sha1,diffie-hellman-group1-sha1]

You have to add the requested algorithms to the server or client.
I've handled it adding this line to /etc/ssh/sshd_config on the server:

KexAlgorithms +diffie-hellman-group1-sha1

Then reload the ssh server









Comments

Popular posts from this blog

Resolve "Cannot download packages whilst offline" issue in Deja-Dup backup software

ubuntu 20.04 / netplan / change mac address and static ip