SSH remote capture private key can't connect
Getting error using the SSH remote capture interface with key only authentication.
Error by extcap pipe: * (sshdump.exe:2128): WARNING *: Error creating connection: Can't find a valid authentication. Disconnecting
Tuning off key only authentication on the remote system and using password works. The private key works in WinSCP.
Assuming this is done on Windows, with an unknown target. Are there any protections on the private key (eg. passphrase?). Is a key agent being used?
Yes Wireshark on Windows. Target is FreeBSD 11.1. Have tried with both protected and unprotected private key. No, a key agent is not being used. Note, the same private key (both protected and unprotected) works in WinSCP.
Have you tried connecting via putty or another windows client with full logging turned on? My idea is, that the path might not be provided correctly, and therefore the id file either does not get loaded at all, or is the wrong one selected.
strangely enough appears to be no one uses ssh capture from windows machines with key authentication instead of password. I have exactly the same situation as @NOYB. And yes, I can connect using putty from same machine. What's wrong with wireshark sshdump?
Same problem, different circumstance. Can't get it to work even just with username and password.
The credentials are fine, I can SSH from most other applications to the box in question with the same creds, but fails from Wireshark's SSH capture interface:
Error by extcap pipe: * (sshdump.exe:35516): WARNING *: Error creating connection: Can't find a valid authentication. Disconnecting
The only other program that is also having an issue is plink (which is my normal go to for streaming remote captures into wireshark, hence why I was playing with the SSH interface in the first place....)
The following command shows the avaliable auth methods. I would have expected it to work...