JSch

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

http://www.jcraft.com/jsch/

原文地址:https://www.cnblogs.com/softidea/p/3900906.html