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, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp521, ecdsa-sha2-nistp384, ecdsa-sha2-nistp256,
ssh-rsa, ssh-dss
- Ciphers: aes256-gcm@openssh.com, aes128-gcm@openssh.com,
aes256-ctr, aes192-ctr, aes128-ctr,
aes256-cbc (rijndael-cbc@lysator.liu.se), aes192-cbc, aes128-cbc,
3des-cbc, blowfish-cbc, cast128-cbc, arcfour, arcfour128
- Compression Schemes: zlib, zlib@openssh.com, none
- MAC hashes: hmac-sha2-512, hmac-sha2-512-etm@openssh.com, hmac-sha2-256, hmac-sha2-256-etm@openssh.com,
hmac-sha1, hmac-sha1-96,
hmac-md5, hmac-md5-96, hmac-ripemd160 (hmac-ripemd160@openssh.com)
- 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, keepalive@openssh.com
- Subsystems: sftp(version 3), publickey(version 2)
- SFTP: statvfs@openssh.com, fstatvfs@openssh.com
- 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.0, released on 2023-05-30. Changelog
Documentation
Support
Development