I have to work with a very old Solaris server as a target and I am stuck on the remote debugging setup.
This is the error message that is reported in the Debug Console:
Error running gdb over ssh!
Error: Handshake failed: no matching key exchange algorithm
I am able to connect to other servers that have a more recent sshd, so I'm pretty sure the problem comes from the KEX algorithms
Default list (in order from most to least preferable):
curve25519-sha256 (node v14.0.0+)
curve25519-sha256@libssh.org (node v14.0.0+)
ecdh-sha2-nistp256
ecdh-sha2-nistp384
ecdh-sha2-nistp521
diffie-hellman-group-exchange-sha256
diffie-hellman-group14-sha256
diffie-hellman-group15-sha512
diffie-hellman-group16-sha512
diffie-hellman-group17-sha512
diffie-hellman-group18-sha512
Other supported names:
diffie-hellman-group-exchange-sha1
diffie-hellman-group14-sha1
diffie-hellman-group1-sha1
I see that what the server proposes is listed under "Other supported names". I have not figured out a way to test ssh2 directly, but my assumption is that these other supported names need to be enabled somehow when the Native Debug extension opens the ssh connection?
I have to work with a very old Solaris server as a target and I am stuck on the remote debugging setup.
This is the error message that is reported in the Debug Console: Error running gdb over ssh! Error: Handshake failed: no matching key exchange algorithm
I am able to connect to other servers that have a more recent sshd, so I'm pretty sure the problem comes from the KEX algorithms
The Solaris server proposes the following:
From what I see in the source code of this extension, there is a dependency on ssh2 v1.6.0, so I looked what it supports there:
I see that what the server proposes is listed under "Other supported names". I have not figured out a way to test ssh2 directly, but my assumption is that these other supported names need to be enabled somehow when the Native Debug extension opens the ssh connection?