I'm trying to see what is possible with using i2cssh and iterm2. I've been using both for a while but not in a very organized way.
One of the starting points for this is that I am limited in what I can deploy on the remote servers so I am not looking at tmux or mosh yet.
I normally have several windows open with split panes for various clusters of servers. For example:
- qa1
- 4 split panes (1 for each host like qa1_a, qa2_b, etc)
- qa2
- prod
There are over 12 environments that I can have windows open for.
There are a few things that would help me organized this.
- Naming the windows by the environment name (qa1, etc). Currently they are "ssh"
- Naming the pane by the hostname. I believe I know how to do this but I don't want it to be tied to changing the window name.
- And the ideal way would be when starting a new i2cssh cluster, open them all in the same window in tabs.
- So a single window with a title of "All Clusters" or something
- Tabs for each new cluster I open with a title of the cluster or environment
- Panes in each tab with a title of the host
I'll need to change the calls from i2cssh to call iterm properly but wanted to know what is possible. And if I need to create a new profile for each matching i2cssh cluster, I can script that and create dynamic profiles. I'm just wanted an idea of where to start and if this has been done before.
Thanks
Neil