JSch is a pure Java implementation of SSH2. It allows you to connect to an sshd server and use port forwarding, X11 forwarding, file transfer, etc. You can integrate its functionality into your own Java programs.

This release fixed some bugs, including connection errors with "verify: false" when running on Java 7u6 (and later). The OpenSSH config file and the key exchange method "diffie-hellman-group-exchange-sha256" are now supported

JSch – Freecode