Java实现的SSH通讯包 JSch 0.1.45 发布
fmms 13年前
<p>该版本修复了一些bug,包括在包压缩模式下程序崩溃的问题,同时提升了基于 sftp 的文件传输性能。<br /> <br /> JSch 是SSH2的一个纯Java实现。它允许你连接到一个sshd 服务器,使用端口转发,X11转发,文件传输等等。你可以将它的功能集成到你自己的 程序中。同时该项目也提供一个J2ME版本用来在手机上直连SSHD服务器。</p> <h3>它具有以下功能特性:</h3> <p></p> <p>The current JSch has the following features.</p> <ul> <li>JSch is in pure Java, but it depends on <a href="/misc/goto?guid=4958197299405267173" target="_blank">JavaTM Cryptography Extension (JCE)</a>. JSch is know to work with: <ul> <li>J2SE 1.4.0 or later (no additional libraries required). </li> <li>J2SE 1.3 and Sun's JCE reference implementation that can be obtained at <a href="/misc/goto?guid=4958197299405267173" target="_blank">http://java.sun.com/products/jce/</a>. </li> <li>J2SE 1.2.2 and later and Bouncycastle's JCE implementation that can be obtained at <a href="/misc/goto?guid=4958197300830017743" target="_blank">http://www.bouncycastle.org/</a>. </li> </ul> </li> <li>SSH2 protocol support. </li> <li>Key exchange: <b>diffie-hellman-group-exchange-sha1</b>, <b>diffie-hellman-group1-sha1</b> </li> <li>Cipher: <b>blowfish-cbc</b>,<b>3des-cbc</b>,<b>aes128-cbc</b>,<b>aes192-cbc</b>,<b>aes256-cbc</b>,<b>aes128-ctr</b>,<b>aes192-ctr</b>,<b>aes256-ctr</b>,<b>3des-ctr</b>,<b>arcfour</b>,<b>arcfour128</b>,<b>arcfour256</b> </li> <li>MAC: <b>hmac-md5</b>, <b>hmac-sha1</b>, <b>hmac-md5-96</b>, <b>hmac-sha1-96</b> </li> <li>Host key type: <b>ssh-dss</b>,<b>ssh-rsa</b> </li> <li>Userauth: <b>password</b> </li> <li>Userauth: <b>publickey(DSA,RSA)</b> </li> <li>Userauth: <b>keyboard-interactive</b> </li> <li>Userauth: <b>gss-api-with-mic</b> </li> <li><b>X11 forwarding</b> </li> <li><b>xauth spoofing</b> </li> <li>connection through <b>HTTP proxy</b>. </li> <li>connection through <b>SOCKS5 proxy</b>. </li> <li><b>port forwarding</b>. </li> <li><b>stream forwarding</b>. </li> <li><b>signal sending</b>. The unofficial patch for sshd of openssh will be found in <a href="http://marc.theaimsgroup.com/?l=openssh-unix-dev&m=104295745607575&w=2" target="_blank">this thread</a>. </li> <li><b>envrironment variable passing</b>. </li> <li><b>remote exec</b>. </li> <li><b>generating DSA and RSA key pairs.</b> </li> <li><b>changing the passphrase for a private key.</b> </li> <li><b>partial authentication</b> </li> <li><b>SSH File Transfer Protocol(version 0, 1, 2, 3)</b> </li> <li>packet compression: <b>zlib</b>, <b>zlib@openssh.com</b> <a href="/misc/goto?guid=4958197302486503275">JZlib</a> has been used. </li> <li>hashed known_hosts file. </li> <li><b>NONE Cipher switching</b>. <a href="/misc/goto?guid=4958197303227545263">High Performace Enabled SSH/SCP</a> supports <a href="/misc/goto?guid=4958197303967933325">NONE Cipher switching</a>. Refer to <a href="/misc/goto?guid=4958197304705616859">ScpToNoneCipher.java</a>. </li> <li>JSch is licensed under <a href="/misc/goto?guid=4958197305439818306">BSD style license</a>. </li> </ul> <p> </p> <p>项目地址:<a href="/misc/goto?guid=4958197306190461754" target="_blank">http://www.jcraft.com/jsch/</a></p>