You need to install the tool tmux (Terminal Multiplexer).
# sudo apt-get update
# sudo apt-get install tmux
now u can give the command tmux from the terminal.
This will open a tmux session .
#########################################
Now inside this session u need to login to your first server.
#########################################
This will split the screen up and down.
You need to login to your second server in the second screen.
#########################################
Now Enable synchronize-panes by pressing ctrl+b followed by shift+:
Next type: "set synchronize-panes on" at the prompt.
#########################################
Finally Ctrl + d ,for exiting from the tmux session.
check this link for more options
Comments