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
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND