Crates.io | nbssh |
lib.rs | nbssh |
version | 3.0.2 |
source | src |
created_at | 2019-01-22 05:57:59.080486 |
updated_at | 2024-03-16 17:02:28.920853 |
description | SSH command generator |
homepage | |
repository | https://github.com/nicholasbishop/nbssh-rs |
max_upload_size | |
id | 109933 |
size | 22,612 |
This tool is no longer under active development. If you are interested in taking over or repurposing the name on crates.io, feel free to contact me: nbishop@nbishop.net
SSH command generator. Example usage:
use nbssh::{Address, SshParams};
use std::process::Command;
let params = SshParams {
address: Address::from_host("myHost"),
..Default::default()
};
let args = params.command(&["echo", "hello"]);
Command::new(&args[0]).args(&args[1..]).status().unwrap();