C语言 SSH2 函数库 libssh2
fmms
13年前
<span class="jl">libssh2是一个实现客户端SSH2协议的</span> <span class="jl">C 函数库</span> <span class="jl">。它具有以下特性:</span> <ul> <li><b>Key Exchange Methods</b>: diffie-hellman-group1-sha1, diffie-hellman-group14-sha1, diffie-hellman-group-exchange-sha1 </li> <li><b>Hostkey Types</b>: ssh-rsa, ssh-dss </li> <li><b>Ciphers</b>: aes256-cbc (rijndael-cbc@lysator.liu.se), aes192-cbc, aes128-cbc, 3des-cbc, blowfish-cbc, cast128-cbc, arcfour, none </li> <li><b>Compression Schemes</b>: zlib, none </li> <li><b>MAC hashes</b>: hmac-sha1, hmac-sha1-96, hmac-md5, hmac-md5-96, hmac-ripemd160 (hmac-ripemd160@openssh.com), none </li> <li><b>Authentication</b>: none, password, public-key, hostbased, keyboard-interactive </li> <li><b>Channels</b>: shell, exec (incl. SCP wrapper), direct-tcpip, subsystem </li> <li><b>Global Requests</b>: tcpip-forward </li> <li><b>Channel Requests</b>: x11, pty </li> <li><b>Subsystems</b>: sftp(version 3), publickey(version 2) </li> <li><b>Thread-safe</b>: just don't share handles simultaneously </li> <li><b>Non-blocking</b>: it can be used both blocking and non-blocking </li> <li><b>Your sockets</b>: the app hands over the socket, calls select() etc. </li> <li><b>OpenSSL</b> or <b>gcrypt</b>: builds with either</li> </ul> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1325823598218" target="_blank">http://www.open-open.com/lib/view/home/1325823598218</a></p>