Just source itmux.sh
in your shell and you will get the alias
itmux-ssh
, that you use instead of ssh
to automatically create or
attach to a iTerm2/tmux session directly upon connection.
$ source $0 # Preferably put in your .*shrc
$ itmux-ssh <host>
To compile and install the iTerm2-enabled tmux on the remote host, you can try issuing:
$ itmux-ssh-install <host>
This is an automatic installer tested on Ubuntu Quantal 12.10. If this fails, you might have to install it manually.
Using vagrant
? If you install this great gem, you can ssh
to your vagrant machine by just doing ssh vagrant
. This means
you can also do
$ itmux-ssh vagrant
- Emil Stenqvist [email protected]