#ssh #bindings #libssh2 #remote #forwarding #server #port

ssh2-patched

Bindings to libssh2 for interacting with SSH servers and executing remote commands, forwarding local ports, etc

1 unstable release

Uses old Rust 2015

0.9.4-p1 Oct 21, 2022

#6 in #libssh2


Used in myutil

MIT/Apache

2MB
42K SLoC

C 36K SLoC // 0.1% comments Rust 3.5K SLoC // 0.0% comments M4 1K SLoC // 0.2% comments Perl 675 SLoC // 0.1% comments Shell 485 SLoC // 0.2% comments Automake 444 SLoC // 0.1% comments C++ 118 SLoC // 0.1% comments Emacs Lisp 32 SLoC // 0.3% comments Bitbake 23 SLoC AWK 22 SLoC PowerShell 11 SLoC // 0.3% comments Batch 6 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

~5.5MB
~92K SLoC