#host #parallel #command #mass #run #ssh-client #binary

bin+lib massh

This library is a simple wrapper around the ssh2 crate to run SSH/SCP commands on a "mass" of hosts in parallel

4 releases

0.6.3 Oct 20, 2021
0.6.2 Oct 16, 2021
0.5.1 Oct 15, 2021
0.4.0 Oct 15, 2021
0.1.0 Oct 14, 2021

#25 in #mass

Download history 31/week @ 2024-03-13 5/week @ 2024-03-20 6/week @ 2024-03-27 26/week @ 2024-04-03 17/week @ 2024-04-10 11/week @ 2024-04-17 8/week @ 2024-04-24 2/week @ 2024-05-01 12/week @ 2024-05-08 38/week @ 2024-05-15 31/week @ 2024-05-22 13/week @ 2024-05-29 14/week @ 2024-06-05 27/week @ 2024-06-12 138/week @ 2024-06-19 63/week @ 2024-06-26

243 downloads per month

MIT/Apache

660KB
569 lines

massh

1 library and 2 binary crates to run SSH/SCP commands on a "mass" of hosts in parallel.

The binary crates are CLI and GUI "frontends" for the library "backend".

Installation

Minimum supported rust version (MSRV): 1.52.0

cargo install massh

massh library crate

Documentation: https://docs.rs/massh

massh binary crate (CLI)

A Rust version of the parallel SSH program pssh(1)

Usage:

screenshot of massh usage

masshd binary crate (GUI)

A web application that runs on http://localhost:2222

Warning: WIP (work in progress)

Right now, masshd only serves placeholder static files but aims to support all the features of the CLI and more.


lib.rs:

This library is a simple wrapper around the ssh2 crate to run SSH/SCP commands on a "mass" of hosts in parallel.

The massh library is mainly intended to support the massh binary: a Rust version of the parallel SSH program pssh(1).

If you want to try the CLI app, you can check it on GitHub and install it with Cargo:

cargo install massh

The rest of this documentation focuses on the library crate, which offers two types of SSH client: MasshClient and SshClient.

Check their respective documentation for the details of their public API with examples.

Dependencies

~15–26MB
~385K SLoC