Java中实现SSH2/SCP/SFTP/FTP操作


支持SSH2/SCP/SFTP/FTP操作的开源java库有以下几个:


1. Ganymed SSH-2 for Java. BSD style license.

"Ganymed SSH-2 for Java is a freely available open-source library which implements the SSH-2 protocol in pure Java. It supports SSH sessions (remote command execution and shell access), local and remote port forwarding, local stream forwarding, X11 forwarding, SCP and SFTP. There are no dependencies on any JCE provider, as all crypto functionality is included."

2. JSch:  http://www.jcraft.com/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


3. J-ftp: http://jaist.dl.sourceforge.net/sourceforge/j-ftp/ Refer: http://tech.it168.com/j/2007-10-18/200710182058687_1.shtml


4. Secure FTP, FTP/SSL, SFTP, FTPS, FTP, SCP: http://www.zehon.com/


Ganymed--Java中实现SCP操作: http://hi.baidu.com/hfutliuwei/blog/item/ca85f51a342ceb71dbb4bd7c.html

你可能感兴趣的:(测试运维,网络/通信)