Skip to content

Instantly share code, notes, and snippets.

@dhsathiya
Created March 25, 2020 10:00
Show Gist options
  • Save dhsathiya/e074a698a914ff385274b979c48fbe98 to your computer and use it in GitHub Desktop.
Save dhsathiya/e074a698a914ff385274b979c48fbe98 to your computer and use it in GitHub Desktop.
#!/bin/sh
tmux new-session -s "ctrldev" -d
tmux send-keys -t ctrldev.1 "ssh root@server1" Enter
tmux split-window -h "ssh root@server2"
tmux split-window -h "ssh root@server3"
tmux split-window -v "ssh root@server4"
tmux split-window -v "ssh root@server5"
tmux split-window -v "ssh root@server6"
tmux select-layout tiled
tmux a -t ctrldev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment