Live data from Hacker News

Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers

github.com

11–20 of 77 posts

Re: Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers

#11
The dry-run option is nice, but you can do this easily in a normal environment without special tooling (GNU parallel, etc).

I have made scripts to do this with filter parameters over VMs on cloud providers, which is very valuable. Maybe you can extend this to have those options, so potential users are more attracted to it?

Re: Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers

#12
post #5
post #2

This looks great. I've used ansible in the past, is this tool like a stripped down (and thus simpler to use) version of ansible?

Given that ansible can be installed via "pip install ansible" I'm not sure how much simpler you can get? Like a basic list of servers can also have this done via "ansible -m shell -a 'echo something' "

yeah, ansible is very nice also in that it can have multiple inventories across cloud providers for running whatever, with minimal setup, and without needing to modify your ssh host config

Re: Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers

#13
ansible my_servers -m shell -a 'fortune && reboot' -b

I know it is easy to be a hater, but sincerely do not see a reason to use something like that over Ansible or just pure sh, ssh and scp. All you have to do is to set up keys and the inventory. Takes 10 minutes, even if you are doing it for the first time. And you can expand it if you need it.

Re: Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers

#17

ansible my_servers -m shell -a 'fortune && reboot' -b I know it is easy to be a hater, but sincerely do not see a reason to use something like that over Ansible or just pure sh, ssh and scp. All you have to do is to set up keys and the inventory. Takes 10 minutes, even if you are doing it for the first time. And you can expand it if you need it.

Ansible is one of the best examples of needless complexity I’ve ever interacted with.

Re: Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers

#19

Around 10 years ago I was supporting infrastructure at a PHP shop and we needed a similar thing, but for ~3000 servers, and the library that we were using (libpssh) didn't support async SSH agent authentication, so I built this small tool in Go to allow to implement such tooling in any language (PHP, Python, whatever) in a simple way: https://github.com/YuriyNasretdinov/GoSSHa It's main advantage is that it allows yo…

Hey man that's really cool, I never really thought of making this interactive.

Re: Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers

#20

This would only be interesting if it wasn't written in python, but native instead.

Originally I was going to write the prototype in python and than later reimplement it in Golang, but right now I'm not sure if it's needed
Post reply on HN