支持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

本文介绍了几个用于Java中实现SSH2、SCP、SFTP和FTP操作的开源库,包括Ganymed SSH-2 for Java,它支持SSH会话、端口转发、SCP和SFTP,不依赖任何JCE提供者;JSch,一个纯Java实现的SSH2库,提供功能丰富的集成选项,同样使用BSD风格许可证;以及J-ftp和Zehon的Secure FTP解决方案,为开发者提供了多样化的文件传输选择。
123

被折叠的 条评论
为什么被折叠?



