Function launch_ssh_process
async fn launch_ssh_process(
username: &str,
host: &str,
port: Option<u16>,
config: &ClientConfig,
) -> ChildExpand description
Launch the SSH process.
The process might overwrite the console title once it launched, so we wait for that to happen and set the title again.
§Arguments
username- The username to connect with.host- The hostname to connect to.port- Optional port number (0-65535).config- The client config indicating how to call the SSH program.
§Returns
The handle to created [Child] process.