java ssh sshj (currently best choice) https://github.com/shikhar/sshj ssh used in jenkins-ci https://github.com/jenkinsci/trilead-ssh2 jsh (据说缺乏文档,但很流行) http://www.jcraft.com/jsch/ apache sshd http://mina.apache.org/sshd-project/