通过java用ssh来操作远程服务器其在一些系统中是需要实现的功能。
现存的都有哪些库呢?最常用的如下:
1. JSch
URL:http://www.jcraft.com/jsch/
支持SSH,SFTP,SCP
2.Ganymed SSH-2 for Java
URL:http://www.cleondris.ch/en/opensource-ssh2.php
3.sshj
URL:https://github.com/shikhar/sshj
4.SSHD
URL:http://mina.apache.org/downloads-sshd.html
5.sshtools
URL:http://sourceforge.net/projects/sshtools/
6.
URL:http://commons-ssh.sourceforge.net/
The commons-ssh package is a thin bridge between different SSH implementations libraries. A library that uses the commons-ssh API can be used with any SSH implementation at runtime. Commons-ssh comes with support for a number of popular Java SSH implementations, including j2ssh, jsch, ganymede and Apache MINA SSHD.
7.JSSH
URL:http://www.pitman.co.za/projects/jssh/index.html
有多种选择。