-
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
How to read the Jsch log files #103
Comments
Hi @uffeweil Is this coming from an openssh config file? We should be able to implement this in You can try programmatically with Kind regards |
Hi Matthias, I will ask our user about this and ask our user to add -Djsch.kex=diffie-hellman-group-exchange-sha1 to the start of DbVisualizer. Kind regards |
Hi @mwiede, Our user just came back. Kind Regards |
Hi @uffeweil The meaning of the log file lines with Best |
@mwiede I wonder if we should expand the capabilities of the system properties to support similar syntax as you added for the OpenSSH config? That way users could append ( |
@norrisjeremy of course we could do that 😄. On the other hand, the goal of most users should be, that they do not have to configure anything other than public key file and so on. So it should still be an exception, that users need to overwrite the default config, because of their legacy servers. So I am asking myself, whether it makes sense to invest some time on a wiki page, which shows, how to handle Jsch configuration and recommends how to do it. From my point of view, this should be something like
|
Yes, setting up a Wiki page would be a great idea. I'm also wondering if we could improve the |
Hi! Thanks Mathias for the new advice. My two cents regarding the configuration options as that Id recommend our users to configure this on host level (config file) and not for the complete VM (system props). An exception with more details would be great. Wiki also. Thanks for all your help on this! Kind regards |
I am with Ulf and am trying to figure out how to interpret the following:
Have tried both Java 11 and 17 with the same result. Any ideas? Best Regards Roger |
Hello, I just upgraded the Jsch version from 0.1.xx to 0.2.xx. And I met the same issues, after comparing the two versions' logs, I found that many algorithms had been turning to deprecated. So I just added those deprecated algorithms to the configuration as the migration.
Hopefully, this will help. |
Hi!
As some of the algorithms has been removed in newer versions of Jsch some of our customers have been reporting troubles in connecting to their servers when upgrading our product (DbVisualizer including upgraded Jsch)
I have seen the system properties (e.g. jsch.kex) that exists to be able to restore old connection capabilities.
Though I have not found any information in how to interpret the logs.
I.e to be able to instruct our users to set the appropriate properties (or set values in the ssh config file)
The specific case I'm struggling with now is a user running Java 11.0.11 and is getting
com.jcraft.jsch.JSchException: Algorithm negotiation fail
I have attached the log for reference.
LogJschSetup.txt
Any help would be highly appreciated
Regards Ulf
The text was updated successfully, but these errors were encountered: