Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » RSEG1066 Negotiation Failed (Enable connection remote device through RSE)
RSEG1066 Negotiation Failed [message #1850684] Mon, 14 March 2022 10:24 Go to next message
Andrea Ciullo is currently offline Andrea CiulloFriend
Messages: 2
Registered: March 2022
Junior Member
Hi all,

I'm quite new on Eclipse and its Remote System Explorer.

I'm trying connecting a remote linux embedded system (supporting Arago distro), but at the end of configuration I get this message:

"Failed to connect sshd on "[ip addr]"
Algorithm negotiation fail

I tried ssh connection directly with commands on terminals, and it work perfectly.

Any suggestions which could be the problem?
Thanks
Re: RSEG1066 Negotiation Failed [message #1850691 is a reply to message #1850684] Mon, 14 March 2022 15:05 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 493
Registered: August 2016
Senior Member
Andrea Ciullo wrote on Mon, 14 March 2022 10:24

"Failed to connect sshd on "[ip addr]"
Algorithm negotiation fail

I tried ssh connection directly with commands on terminals, and it work perfectly.

Any suggestions which could be the problem?

What SSH daemon is running on the remote end? My first guess at a possible cause would be the deprecation of the ssh-rsa SHA1-based signature algorithm.
Modern OpenSSH daemons have it disabled and require the SHA-2 signature algorithms rsa-sha2-256 or rsa-sha2-512.

I think RSE uses the JSch Java SSH library, which does not support rsa-sha2-256 or rsa-sha2-512.

If that is indeed the problem: possible work-arounds or solutions, in increasing order of difficulty, but also increasing likelihood to actually resolve the problem:

  1. If RSE has a way to use an external SSH executable instead of a Java library, configure it to use that external SSH executable. Otherwise:
  2. Do not use an RSA key for authentication. Use an ECDSA256 key.
  3. If that doesn't help, remove a possibly stored RSA host key from ~/.ssh/known_hosts and try again and hope the server offers a non-RSA host key.
  4. If that still doesn't work, try to use the JSch fork. That fork does implement the SHA-2 RSA signature algorithms. It claims to be a drop-in replacement for JSch 0.1.55, but I don't know if it's OSGi-fied. If not, you many have to re-bundle it.
  5. Rewrite RSE not to use com.jcraft.jsch at all but org.apache.sshd. That will work for sure (EGit/JGit uses Apache MINA sshd) but it may be (well, will be) a lot of work.
Re: RSEG1066 Negotiation Failed [message #1850760 is a reply to message #1850691] Wed, 16 March 2022 09:23 Go to previous message
Andrea Ciullo is currently offline Andrea CiulloFriend
Messages: 2
Registered: March 2022
Junior Member
Hi Thomas,

thank you very much for your suggestions.

Unfortunately I'm not such expert with SSH configuration and settings. Can you suggest me any online guide on how to set the Eclipse ssh configuration?
I saw that from tab "Window->Preferences->Network Connections->SSH2" I can configure change some features. Do you know which could be the right one to modify for?


Regarding the remote end demon, if I didn't get wrongly, it should be Dropbear.

Thank you again for your support.
Previous Topic:proxy settings not taking effect
Next Topic:Unable to connect to TFS Server
Goto Forum:
  


Current Time: Sun Sep 25 08:34:44 GMT 2022

Powered by FUDForum. Page generated in 0.03549 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top