libssh2 is a client-side C library implementing the SSH2 protocol
Capabilities and Features
- Key Exchange Methods: diffie-hellman-group-exchange-sha256,
diffie-hellman-group1-sha1, diffie-hellman-group14-sha1, diffie-hellman-group-exchange-sha1
- Hostkey Types: ssh-ed25519, [email protected], ecdsa-sha2-nistp521, ecdsa-sha2-nistp384, ecdsa-sha2-nistp256,
ssh-rsa, ssh-dss
- Ciphers: [email protected], [email protected],
aes256-ctr, aes192-ctr, aes128-ctr,
aes256-cbc ([email protected]), aes192-cbc, aes128-cbc,
3des-cbc, blowfish-cbc, cast128-cbc, arcfour, arcfour128
- Compression Schemes: zlib, [email protected], none
- MAC hashes: hmac-sha2-512, [email protected], hmac-sha2-256, [email protected],
hmac-sha1, hmac-sha1-96,
hmac-md5, hmac-md5-96, hmac-ripemd160 ([email protected])
- Authentication: none, password, public-key, hostbased,
keyboard-interactive
- Channels: shell, exec (incl. SCP wrapper), direct-tcpip, subsystem
- Global Requests: tcpip-forward
- Channel Requests: x11, pty, exit-signal, [email protected]
- Subsystems: sftp(version 3), publickey(version 2)
- SFTP: [email protected], [email protected]
- Thread-safe: just do not share handles simultaneously
- Non-blocking: it can be used both blocking and non-blocking
- Your sockets: the app hands over the socket, calls select() etc.
- Crypto backends: OpenSSL, libgcrypt, mbedTLS, wolfSSL or WinCNG (native since Windows Vista): builds with either
Download
libssh2 1.11.1, released on 2024-10-16. Changelog
Documentation
Support
Development