Skip to main content

ssh_run

Function ssh_run 

Source
pub fn ssh_run(spec: &SshSpec, cmd: &str) -> Result<String>
Expand description

Run cmd on spec over the control channel, returning stdout. Non-zero exit is an error carrying stderr.