• 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 libssh2-1.11.0.tar.gz [gpg] libssh2-1.11.0.tar.bz2 [gpg] libssh2-1.11.0.tar.xz [gpg] libssh2-1.11.0.zip [gpg]
    Documentation
  • license
  • comparison against libssh
  • GitHub
  • Examples
  • Security
    Support
  • mail : The main place to take issues, discuss development or ask about how to use libssh2 is the libssh2-devel mailing list .
  • Bugs: github issue tracker
    Development
  •