Skip to content

Outdated Jcraft JSCH Library Causes Incorrect Credentials For Remote Git #3700 resurfaced #9261

Closed

Description

@MB2A

Apache NetBeans version

Apache NetBeans 29

What happened

#3700 has resurfaced.

tested with ssh-rsa , ed25519, and ecdsa key for user. added the old ssh-rsa to the sshd_config.

catching debug on sshd :
`
Connection from 10.0.21.46 port 53820 on 10.205.44.133 port 2222 rdomain ""
debug1: Local version string SSH-2.0-OpenSSH_10.0p2 Debian-7
debug1: Remote protocol version 2.0, remote software version JSCH-0.1.72
debug1: compat_banner: no match: JSCH-0.1.72

`

Language / Project Type / NetBeans Component

No response

How to reproduce

use git to communicate with remote repository

Did this work correctly in an earlier version?

No / Don't know

Operating System

debian

JDK

openjdk version "17.0.18" 2026-01-20

Apache NetBeans packaging

Community provided installer

Anything else

No response

Are you willing to submit a pull request?

No

Activity

  1. added
    kind:bugBug report or fix
    needs:triageRequires attention from one of the committers
    on Mar 12, 2026
  2. added
    git[ci] enable versioning job
    on Mar 12, 2026
  3. mbien commented on Mar 12, 2026

    @mbien
    Member

    ed25519 never worked as far as I know #7572

  4. removed
    needs:triageRequires attention from one of the committers
    on Sep 7, 2026
  5. mbien commented on Sep 7, 2026

    @mbien
    Member

    likely fixed by #9483 since it switched the impl away from jsch

    jgit update is pending #9576

    we will update jsch too, but as mentioned above it isn't used by jgit anymore while still used elsewhere (#9597)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    git[ci] enable versioning jobkind:bugBug report or fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions