Skip to main content

validate_ssh_host

Function validate_ssh_host 

Source
pub async fn validate_ssh_host(
    url: &str,
    allowed: AllowedLocal,
) -> Result<(), SshHostError>
Expand description

Refuses an ssh url whose host resolves to a local address.