Open Qix- opened 9 months ago
Looks like the session ends up negotiating a missing ecdsa-sha2-nistp256
host key, which is then the same bug as #227 (just fixed) - please check
Nope, unfortunately still the same issue. Should I do another PCAP dump?
Hi there. I'm trying to get a libgit2 client (via the
git2
crate) connecting to russh for integration testing purposes and I'm getting a rather unhelpful error from libgit2 -failed to start SSH session: Unable to exchange encryption keys
.I did a pcap of the negotiation and it looks like the client simply hangs up after russh tries to initiate a key exchange. I'm not well versed in the exchange details so this very well could be a problem with libgit2, but we don't have issues connecting to other servers - just russh.
Negotation packets (client hangs up directly after this):
I've attached the PCAPng file directly given that wireshark truncates column data for some reason: key-exchange-libssh2-russh.pcapng.zip
The initialization code is just this:
Perhaps I'm missing something on the config side but I'm honestly not sure how to debug further given that neither side (libgit2 nor russh) have any additional callbacks I can specify to show more involved output. Is this an issue with unsupported key exchange algorithms?
For what it's worth,
git
(mainstream CLI) works fine.