ppsh is developed for Pull and Push via SSH
PPSH is a Ansible-like Tool and Library written in Go. Ansible is a radically simple IT automation system but it is written in Python and needs Python installed and sometime annoyed configurations, so here comes PPSH. You just need the precompile bin file and a well defined YAML file to run it, and for simple tasks you even just run it with the well defined arguments. PPSH is also a library and can be easily integrated into your application
Example of ppsh command?
./app -hosts "192.168.1.101;192.168.1.102" -cmds "echo hello && echo good" -u root -w 123456
./app -hosts "192.168.1.101;192.168.1.101" -cmds "echo hello && echo good" -u root -w 123456 -out-format json
./app -ip-range "192.168.1.101-192.168.1.104" -cmds "echo hello && echo good" -u root -w 123456
./app -ip-range "192.168.1.101-192.168.1.104" -cmds "echo hello && echo good" -u root -w 123456 -out-format json
./app --hosts "localhost;localhost" --port 50001 --cmds "echo good;echo hello" --user root --password 123456 --format json
Reference
- https://github.com/haotrr/ppsh
Latest posts by Rajesh Kumar (see all)
- Best AI tools for Software Engineers - November 4, 2024
- Installing Jupyter: Get up and running on your computer - November 2, 2024
- An Introduction of SymOps by SymOps.com - October 30, 2024