Skip to content

Missing KexAlgorithms +diffie-hellman-group1-sha1 #37

@liftoff-sr

Description

@liftoff-sr

I have a Java project which uses the jsch classes. I tried your repo, but had to switch back to sschlib because it supported this:

KexAlgorithms +diffie-hellman-group1-sha1

requirement in my thousands of remote nodes running older dropbear all over the world. They are not upgradeable. I tried unsuccessfully to add support for that KexAlgorithm back into your library. So the path of least resistance was to switch back to something that works: sschlib. It is not an option to upgrade these little servers.

I can connect to these boxes fine using command line ssh on modern linux if I add the above statement to file: ~/.ssh/config.

Is there a simple trick to support this when creating the JSch class instance by modifying the config records without modifying the library source? Nothing I tried along that pathway worked after a full day of trying.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions