Swarm SSH

Manage remote computers via ssh protocol.

Login

```rust use diagnosticquick::QResult; use swarmssh::SwarmSSH;

async fn testpassword() -> QResult { SwarmSSH::loginpassword("192.168.1.100:22", "root", "password").await } ```

Upload

```rust use std::path::PathBuf; use diagnosticquick::QResult; use swarmssh::SwarmSSH;

async fn testpassword() -> QResult { let ssh = SwarmSSH::loginpassword("192.168.1.100:22", "root", "password").await?; let path = PathBuf::from("Cargo.toml"); ssh.upload_task(&path, "/tmp/Cargo.toml")?.execute().await?; Ok(()) } ```

Download

```rust use diagnosticquick::QResult; use swarmssh::SwarmSSH;

async fn testpassword() -> QResult { SwarmSSH::loginpassword("192.168.1.100:22", "root", "password").await } ```