-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Algorithm negotiation fail on version 0.1.62 #40
Comments
Thanks for reporting this issue. Can you please post thé log output like it is done in https://github.com/mwiede/jsch/blob/master/examples/Logger.java |
Hi Matthias, Attaching the log file that we generate when doing sftp connection. have printed logs in debug level Please have a look and let know.
Please guide us in case if we require any code change for connecting via username password method. Thanks, |
04d3ff1 changed the default crypto algorithms to more closely align with modern OpenSSH.
|
Hi Matthias, Your suggestion worked and we are now able to connect on windows machine. Thank you.
Once again thank you for your help. Regards, |
Hi Karan, Yes, if the newer server announced support for You probably could adjust to instead do this, so that
I believe OpenSSH 7.8+ should work, regardless of whether you append or prepend the |
Thanks a lot for your help Matthias. Regards, |
Thanks to Jeremy who answered! Closing this issue as it is located at server. |
Thank you all for your help in helping to resolve this issue. Just few question:
Regards, |
to answer your questions:
Kind regards |
Recently we had requirement to upgrade Jsch to support openSSH 7.8.
We upgraded the jsch to 0.1.62 from maven repo.
However when connecting the session using username, password method we are getting "Algorithm Negotiation Fail" on windows environment.
The same piece of code works fine when using Jsch version 0.1.54 jar
Our Environment
OpenJDK 1.8.0_252
Windows Server 2016
Tomcat 8.5.55
Freeftpd version 1.0.13
The text was updated successfully, but these errors were encountered: