What Is Your Favorite Terminal Setup?

Michael Torrie torriem at gmail.com
Mon Oct 11 21:52:51 MDT 2010

On 10/11/2010 11:17 AM, Brett Rasmussen wrote:
> I don't know if you can do this one in screen or not, but tmux's
> client-server model allows for multiple clients to be attached to the *same*
> session.  So, for example, I can be working from home and on a skype call
> with another developer, each of us logged in as a user whose credentials we
> both know.  I'll attach to a tmux session he's already started, and we'll
> get dual controls.  He sees as I type, and I see as he types.

I created some quick and dirty scripts to take advantage of this
client/server separation in tmux to work in cases where there are no
shared credentials, and where you may not actually even have a login.
It works similarly to vncviewer in -listen mode:


For those who don't care to view the page, my script allows one to run a
server process on a publicly-accessible host, and then the client script
creates a tmux session and "sends" it to the server, similar to how
vncviewer -listen works.  This can be used to help another people with a
linux problem without having to know any login information.  Also the
client sending the terminal session can be behind a firewall.
Everything is encrypted with SSL, but even better, keystrokes entered by
the client (passwords, etc) are never sent to the remote server.  Only
what echos to the screen is sent.  And of course keystrokes from the
server are passed to the client.

More information about the PLUG mailing list