Skip to main content

ssh_keygen

Function ssh_keygen 

Source
pub async fn ssh_keygen(args: &[&str]) -> Result<String, Error>
Expand description

Run ssh-keygen with the given arguments and return stdout.

ยงErrors

Returns Error::ToolNotFound if ssh-keygen is not in PATH, Error::CommandFailed if the command exits with a non-zero status, or Error::TaskFailed if the background task panics.