#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

#23 in #mass

Download history 38/week @ 2024-01-27 17/week @ 2024-02-17 24/week @ 2024-02-24 6/week @ 2024-03-02 33/week @ 2024-03-09 11/week @ 2024-03-16 1/week @ 2024-03-23 22/week @ 2024-03-30 21/week @ 2024-04-06 15/week @ 2024-04-13

59 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

~17–28MB
~416K SLoC