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 jsonCode language: JavaScript (javascript)

Reference
- https://github.com/haotrr/ppsh
I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals