Crates.io | openssh |
lib.rs | openssh |
version | 0.11.4 |
source | src |
created_at | 2020-04-11 21:47:51.640624 |
updated_at | 2024-11-27 09:58:28.905079 |
description | SSH through OpenSSH |
homepage | |
repository | https://github.com/openssh-rust/openssh.git |
max_upload_size | |
id | 228767 |
size | 219,616 |
Scriptable SSH through OpenSSH.
This crate wraps the OpenSSH remote login client (ssh
on most machines), and provides
a convenient mechanism for running commands on remote hosts. Since all commands are executed
through the ssh
command, all your existing configuration (e.g., in .ssh/config
) should
continue to work as expected.
The library's API is modeled closely after that of [std::process::Command
], since ssh
also
attempts to make the remote process seem as much as possible like a local command.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Requires docker
and cargo-hack
.
Check getting Docker guide on how to install docker,
and use cargo install cargo-hack
to install cargo-hack
.
./run_ci_tests.sh
It will create a container which runs sshd, setup ssh-agent, and environment variables that are required to run the integration tests.
It will also test different combination of feature flags to ensure they all compile without error.
Requires nightly cargo.
To install nightly cargo, run rustup toolchain install nightly
.
./build_doc.sh