pssh-rs-0.2.3 is not a library.
pssh-rs is a parallel ssh tool written in rust.
Example
- run
date
command on 192.168.56.101 and 192.168.56.102:
the hosts can be separated by comma, semicolon or spaces.
- using toml file to config hosts, suppose we have the following hosts.toml file:
execute date
on all nginx hosts
note that the username of 192.168.57.103 is ubuntu, which inherited from its parent nginx section.
Install
just run cargo install pssh-rs
to install.
Building
pssh-rs can be built with cargo build --release
, or using the following
command to build statically: