/jsch

fork of the popular jsch library

Primary LanguageJavaOtherNOASSERTION

fork of JSch-0.1.55

See original README

GitHub release Maven Central Java CI with Maven Quality Gate Status

Why should you use this library?

As I explained in a blog post the main points are:

  • OpenSSH will disable ssh-rsa in the future per default and you need a library which supports rsa-sha2-256 and rsa-sha2-512
  • drop in replacement: just change dependency coordinates and you are good to go
  • no active maintenance of JSch at SourceForge
  • stay in sync with JDK features so there is no need for additional dependencies

FAQ

  • Is this fork 100% compatible with original Jsch, because the connection to my server does not work any more
    • for compatibility with openssh and security, the order of signure algorithms was changed. If you still want to use older or deprecated algorithms, you need to change the configuration. Examples see #37, #40
  • Is ssh-ed25519 supported?
    • This library is a Multi-Release-jar, which means, that you can only use certain features, when a more recent java version is used. In order to use ssh-ed25519, you must use at least Java 15

Changes since fork: