ssh的c语言开发库-libssh
2011-01-07 14:07:06 阿炯

libssh 是一个用以访问SSH服务的C语言开发包,通过它可以执行远程命令、文件传输,同时为远程的程序提供安全的传输通道。它对 SFTP 的实现使得远程传输文件变得非常简单,除了OpenSSL所提供的一些加密包(libcrypt、libgcrypt)外,libssh 并不需要更多的第三方包的支持。

The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs.

Features

Client and server support
Supports asynchronous connections
Supports SFTP, SCP and OpenSSH Extensions
Thread safety when using different sessions at same time
Supports Linux, UNIX, BSD, Solaris, OS/2 and Windows
Full API documentation and a tutorial

SSH2 and SSH1 protocol support
Based on poll(2), WSAPoll() on Windows Vista+ or a poll(2)-emulation.
Large file system support (files bigger than 4GB)
Supports OpenSSL and GCrypt
Support for AES-128, AES-192, AES-256, Blowfish, 3DES in CBC mode, and AES in CTR mode
POSIX-like SFTP (Secure File Transfer) implementation with openssh extension support
RSA and DSS server public key supported
SSH agent authentication support
ZLIB Compression support

License

libssh is open source licensed under the GNU Library (or: Lesser) General Public License (LGPL).

最新版本:0.7


项目主页:http://www.libssh.org/
该文章最后由 Administrator 于 2018-02-05 10:27:03 更新,目前是第 2 版。