Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm using the Tmux integrating with ITerm2, which can create a tab in ITerm 2 for each window created by Tmux.

But somehow this doesn't make much sense for the usual SSH scenario, where we first SSH to a remote host and work with multiple windows through Tmux.

I want to have multiple tabs in ITerm 2, sharing one SSH connection, and in one Tmux sesson. Is it possible?

share|improve this question
add comment

1 Answer

I don't think this is possible. tmux communicates through a socket file that the remote end of the ssh session wouldn't be able to see. While other types of data can be tunneled through ssh, I'm not sure you can do this. I work in the same way you do, but I just use the tmux native windows in one tab.

share|improve this answer
add comment

Your Answer

 
discard

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.