Created
November 4, 2011 14:26
-
-
Save smat/1339428 to your computer and use it in GitHub Desktop.
Dualscreen display for two or more ssh hosts
This file contains hidden or 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
| #!/bin/sh | |
| tmux new-session -d -s miniapp -n 'Miniapp' 'ssh host1' | |
| tmux split-window -t miniapp 'ssh host2' | |
| #tmux split-window -t miniapp 'ssh host3' | |
| tmux select-layout -t miniapp even-vertical | |
| tmux set-window-option -t miniapp synchronize-panes on | |
| tmux -2 attach-session -t miniapp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment