There exists a very old question SSH library for Java focused on libraries to user for SSH in JAVA...However it is now so large and has so many answers that are likely to be out of date I feel that it needs re-asking...so we users can quickly find the most up to date info.
Also I am suprised that we don't have a native JAVA JDK implementation for this very common use case by now. Adding this in to Java was suggested and closed in https://bugs.openjdk.java.net/browse/JDK-6775421 but I wonder if that decision should or did get revised?
So what are the best SSH liraries in 2021 or is there a JDK appraoch now?
Table of libs pro/cons:
|https://github.com/hierynomus/sshj||Maintained, high commit freq||lots of open issues|
|http://www.jcraft.com/jsch/||Was very popular at one time||legacy mode, no public repo I can find|
|- Backed by Apache?
- Got a decent website
- Frequent commits
- Documentation not amazing according to linked SO
- commits mostly one guy
- no issues in GH
|https://github.com/sshtools/maverick-synergy||-3 active contributors
-fairly freq commits
- allied commercial product
- older product