Skip to content
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

Algorithm negotiation fail #231

Closed
ytzyangting opened this issue Oct 23, 2022 · 1 comment
Closed

Algorithm negotiation fail #231

ytzyangting opened this issue Oct 23, 2022 · 1 comment
Labels
support asking for help using the library

Comments

@ytzyangting
Copy link

The algorithm negotiation fail. How to modify it according to the error message,
Thank you!

Algorithm negotiation fail: algorithmName="kex" jschProposal="curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-c" serverProposal="diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1"

@mwiede
Copy link
Owner

mwiede commented Oct 23, 2022

Do you have access to the server? It's using weak algorithms see https://github.blog/2017-02-27-crypto-deprecation-notice/

If you can't change the server you can modify default jsch configuration as in #37

@mwiede mwiede added the support asking for help using the library label Nov 15, 2022
@mwiede mwiede closed this as completed Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support asking for help using the library
Projects
None yet
Development

No branches or pull requests

2 participants