Skip to main content

build_session_args

Function build_session_args 

Source
pub fn build_session_args(host_alias: &str, command: &str) -> Vec<String>
Expand description

Build args for an interactive SSH session that runs a command then drops to $SHELL. Produces: ["ssh", "alias", "-t", "cmd; $SHELL"]