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?
Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers
11–20 of 77 posts
Re: Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers
#12This 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' "
Re: Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers
#13I 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
#14Curious to understand the need to create this over using tools like pssh, etc. https://linux.die.net/man/1/pssh
Re: Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers
#15Re: Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers
#16Re: Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers
#17ansible 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
#18See also: fabric. https://docs.fabfile.org/en/latest/
Re: Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers
#19Around 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…
Re: Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers
#20This would only be interesting if it wasn't written in python, but native instead.