SSH Interpreter against Dropbear sshd

Hello,

  I am trying to create a PyCharm SSH interpreter against Dropbear v2020.80. I just do install dropbear by doing brew install dropbear on my Macbook to simulate it for now. I am able to login to using the ssh client available in the Macbook.

  When I do so, connection fails, and the log in Dropbear says the following:

  Exit before auth from <127.0.0.1:59076>: No matching algo kex

  The kex algorithms supported by Dropbear are:

curve25519-sha256@libssh.org, ecdh-sha2-nistp521, ecdh-sha2-nistp384, ecdh-sha2-nistp256, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, kexguess2@matt.ucc.asn.au (per https://ssh-comparison.quendi.de/impls/dropbear.html)

  I know PyCharm uses JSch, but is there a way to configure it to make it work with Dropbear by setting some property? What would I have to do to configure this accordingly?

Thanks,

Ron

0
2 comments
Avatar
Permanently deleted user

I looked a little closer, and it seems IntelliJ uses sshj and not jsch. I was able to reproduce the problem by using sshj standalone. jsch worked.

0

Hi,

We have another dropbear-related issue https://youtrack.jetbrains.com/issue/PY-38903, which is not a duplicate of your issue, but suggests that Dropbear SSH server might not be supported by PyCharm.

You can try switching SSH implementation to jsch by disabling `ide.ssh.library.backend.use.sshj` registry option.

To access registry, go to **Help | Find Action...** and search for "Registry..."

0

Please sign in to leave a comment.