is / jsch

Mirror of JSch from JCraft.
Other
383 stars 190 forks source link

FOR those who encountered "Algorithm negotiation fail" exception. #2

Open rufushuang opened 9 years ago

rufushuang commented 9 years ago

You'd better read http://stackoverflow.com/questions/6263630/jschexception-algorithm-negotiation-fail

And i found the sshd_config method in Malte Clasen's comment, really works for me.

Add one line:

KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha1

in /etc/ssh/sshd_config, if you can.

AlvyB commented 8 years ago

Thanks.

pgkaila commented 8 years ago

Thanks :)

joeinaustin commented 8 years ago

Anyone have a solution for this under windows 7? I see the same error when using Eclipse/SSH from my Win7 pc.

phil123456 commented 8 years ago

then I cannot connect (even with filezilla that was working)

danyaljj commented 7 years ago

Update the version of wagon-ssh to the latest, and it will go away.

majormoses commented 6 years ago

The best thing is to keep your dependencies up to date with new enough git/ssh modules. Adding weak algorithms and cipher suites is not a good solution. They just deprecated another round of here