Skip to content

Helper script for sshing and controlling several hosts while in a tmux session.

License

Notifications You must be signed in to change notification settings

scallister/cluster-mux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

cluster-mux

Helper script for sshing and controlling several hosts while in a tmux session. This is similar to cluster ssh. Hostnames can be piped to cluster-mux or can be listed as arguments. Cluster-mux will then open the new hosts in a new window with each pane representing one host with an ssh connection.

Examples

A list of hosts can be piped to cluster-mux. In this case all_hosts is a command that returns a list of hosts delineated by newlines from Salt. I then grep for the hosts I'm interested in and pipe those to cluster-mux.

all_hosts | grep -i deploy  | grep -iv new  |grep -iv ops | cluster-mux

About

Helper script for sshing and controlling several hosts while in a tmux session.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages