Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to open a new terminator pane on a remote server when connected by ssh?

I am looking for something similar to what can be done (according to this answer) by tmux but using terminator instead. I want to ssh to a remote machine using and then if I split the terminator window, the new shell will open on the remote machine.

share|improve this question
I don't think this possible as every split spawns a new local shell, so having it spawn a remote shell you'd need to make a new session with that split on the remote server. This would be quite different to how screen and tmux works. – Bobby Sep 20 '12 at 18:52
@Bobby, yeah I figured as much but maybe some superuser out there has a hack ;) – terdon Sep 20 '12 at 19:29
up vote 6 down vote accepted

The answer to this problem for terminator and remote systems is to create a terminator profile, where the command it runs 'as a login shell' is the SSH connection string used to access the remote server. It is prefered to have SSH key based authentication or openssh controlmaster/controlpath setup to have connection sharing.

Exerpt of a terminator config for this:


 scroll_on_output = False
 exit_action = restart
 scrollback_infinite = True
 use_custom_command = True
 exit_action = restart
 custom_command = ssh user@remotehost

And simply run terminator -p remotehost to use this profile. Each time you 'split' terminals, it uses this profile and thus opens a new SSH connection.

For ssh controlmaster, see: http://www.debian-administration.org/articles/290

share|improve this answer
Almost perfect, thanks! Extra brownie points for suggesting a way this can be done from an already launched terminator (automatically). I am accepting your answer anyway because it is a great solution. – terdon Feb 5 '13 at 14:11
Terrific. Don't forget run ssh-agent and ssh-add before terminator for SSH key based authentication method – Igor Parra Dec 24 '13 at 15:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.