ClusterSSH for iTerm2
github.com
ClusterSSH for iTerm2
1–10 of 11 posts
Re: ClusterSSH for iTerm2
#2[1] https://docs.ansible.com/ansible/latest/cli/ansible-console....
Re: ClusterSSH for iTerm2
#3Also there is ansible-console [1] REPL, from which you can run ansible or shell commands, which are executed on multiple hosts. [1] https://docs.ansible.com/ansible/latest/cli/ansible-console....
Now if only there was some way to have that ansible repl create roles or tasks based on the commands I run through that repl. Kinda how script[1] works.
[1] https://www-users.cse.umn.edu/~gini/1901-07s/files/script.ht...
Re: ClusterSSH for iTerm2
#4HOSTS="$(echo runner{0..30}.example.com)" syncssh
To get into a bunch of machines. Also have an adaptation of this that allows you to do the same for any commands (i.e. if you need different ssh flags). Also found the original source from back in 2011 [2].
[1] https://gist.github.com/antoniomika/81b81b908f057cd7aafc0df4...
[2] http://linuxpixies.blogspot.com/2011/06/tmux-copy-mode-and-h...
Re: ClusterSSH for iTerm2
#5https://github.com/jevinskie/jeviterm
The QEMU patch in the root dir spawns a window for all the TTY outputs and monitor for your session. Very handy!
There are brew tap instructions and a demo video here:
https://mobile.twitter.com/jevinskie/status/1482443633777209...
Re: ClusterSSH for iTerm2
#6Re: ClusterSSH for iTerm2
#7Another option for less interactive things would be clush (Clustershell) https://clustershell.readthedocs.io/en/latest/tools/clush.ht...
Re: ClusterSSH for iTerm2
#8Re: ClusterSSH for iTerm2
#9Appearing soon in a post-mortem blog post!