Skip to main content

test_connection

Function test_connection 

Source
pub async fn test_connection(host: &HostConfig) -> Result<String, HostError>
Expand description

Test SSH connection to a host

Runs ssh user@host docker version to verify:

  1. SSH connection works
  2. Docker is available on remote