https://github.com/alexcrichton/ssh2-rs
Rust bindings for libssh2
https://github.com/alexcrichton/ssh2-rs
Last synced: 5 days ago
JSON representation
Rust bindings for libssh2
- Host: GitHub
- URL: https://github.com/alexcrichton/ssh2-rs
- Owner: alexcrichton
- License: apache-2.0
- Created: 2014-09-18T05:10:52.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-02-01T17:21:52.000Z (2 months ago)
- Last Synced: 2025-04-01T23:16:00.776Z (13 days ago)
- Language: Rust
- Homepage: https://docs.rs/ssh2
- Size: 2.35 MB
- Stars: 509
- Watchers: 6
- Forks: 153
- Open Issues: 45
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
- awesome-rust-cn - alexcrichton/ssh2-rs - ci.com/alexcrichton/ssh2-rs.svg?branch=master">](https://travis-ci.org/alexcrichton/ssh2-rs) (Libraries / Network programming)
- awesome-rust - alexcrichton/ssh2-rs - ci.com/alexcrichton/ssh2-rs.svg?branch=master">](https://travis-ci.org/alexcrichton/ssh2-rs) (Libraries / Network programming)
- awesome-rust - alexcrichton/ssh2-rs - ci.org/alexcrichton/ssh2-rs.svg?branch=master">](https://travis-ci.org/alexcrichton/ssh2-rs) (代码 / 网络编程)
- awesome-rust - alexcrichton/ssh2-rs
- awesome-rust-cn - alexcrichton/ssh2-rs
- awesome-rust-zh - alexcrichton/ssh2-rs - [libssh2](https://www.libssh2.org/)绑定 [<img src="https://api.travis-ci.com/alexcrichton/ssh2-rs.svg?branch=master">](https://travis-ci.org/alexcrichton/ssh2-rs) (库 / 网络编程)
README
# ssh2-rs
[](https://github.com/alexcrichton/ssh2-rs/actions?workflow=linux)
[](https://github.com/alexcrichton/ssh2-rs/actions?workflow=Windows)
[](https://github.com/alexcrichton/ssh2-rs/actions?workflow=macOS)[Documentation](https://docs.rs/ssh2)
Rust bindings to libssh2, an ssh client library.
## Usage
```toml
# 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](https://github.com/sfackler/rust-openssl#macos).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](https://docs.rs/openssl/0.10.24/openssl/#vendored)# License
This project is licensed under either of
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or
http://opensource.org/licenses/MIT)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.