Skip to content

Getting Alogirthm negotitaion fail error after upgrading the JSCH version #596

@Sai-Srikar

Description

@Sai-Srikar

HI

We are in the porcess of upgrading our jsch version from 0.1.55 to 0.2.16

Here we have seen one issue where for the password authentication is working fine on the lower version but failing on the updated version.

On the updated version i am getting following JSCH log

jschLog=Authentications that can continue: publickey
jschLog=Next authentication method: publickey

It's never trying the password authentication even though i have set it explicitly like below

session.setConfig("PreferredAuthentications", "password,publickey");

Can you please help me with this

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