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

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

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–25MB
~378K SLoC