#bindings #libssh2 #ssh2 #ssh #native #native-bindings #ssh-client

yanked libssh2-sys-patched

Native bindings to the libssh2 library

1 unstable release

Uses old Rust 2015

0.3.0-p1 Oct 21, 2022

#7 in #libssh2


Used in 2 crates (via ssh2-patched)

MIT/Apache

1.5MB
39K SLoC

C 35K SLoC // 0.1% comments M4 1K SLoC // 0.2% comments Rust 1K SLoC // 0.0% comments Perl 676 SLoC // 0.1% comments Shell 486 SLoC // 0.2% comments Automake 445 SLoC // 0.1% comments C++ 119 SLoC // 0.1% comments Emacs Lisp 33 SLoC // 0.3% comments Bitbake 24 SLoC AWK 23 SLoC PowerShell 12 SLoC // 0.3% comments Batch 7 SLoC

ssh2-rs

Build Status Build Status Build Status

Documentation

Rust bindings to libssh2, an ssh client library.

Usage

# Cargo.toml
[dependencies]
ssh2 = "0.9"

Building on OSX 10.10+

This library depends on OpenSSL. To get OpenSSL working follow the openssl crate's instructions.

Starting with version 0.4 of ssh2, you can enable the vendored-openssl feature to have libssh2 built against a statically built version of openssl as described here

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~5MB
~79K SLoC