libssh2 is a library implementing the SSH2 protocol, available under the revised BSD license.