Thanks to visit codestin.com
Credit goes to lib.rs

#ssh-server #port-forwarding #libssh2-bindings

ssh2

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

46 releases

Uses old Rust 2015

0.9.5 Feb 1, 2025
0.9.4 Jan 21, 2023
0.9.3 Oct 10, 2021
0.9.1 Feb 1, 2021
0.0.2 Nov 19, 2014

#29 in Network programming

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

123,159 downloads per month
Used in 183 crates (132 directly)

MIT/Apache

2MB
49K SLoC

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

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

~1.6–2.5MB
~52K SLoC