Last active
November 22, 2022 13:05
-
-
Save hogihung/02ce8b8c5f0916e77798c348beb3456c to your computer and use it in GitHub Desktop.
Using Tmuxinator with Tmux to remotely connect to several hosts via ssh using the even vertical pane layout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.tmuxinator/remote_connect.yml | |
# more info on tmuxinator: https://github.com/tmuxinator/tmuxinator | |
name: remote | |
root: ~/path/to/your_project/dir | |
windows: | |
- local: ls -la | |
- remote: | |
layout: even-vertical | |
panes: # :setw synchronize-panes | |
- server1: | |
- ssh your_server_name_or_ip_address_here | |
- server2: | |
- ssh your_server_name_or_ip_address_here | |
- server3: | |
- ssh your_server_name_or_ip_address_here | |
- server4: | |
- ssh your_server_name_or_ip_address_here | |
- server5: | |
- ssh your_server_name_or_ip_address_here | |
- server6: | |
- ssh your_server_name_or_ip_address_here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment