Last Updated: February 25, 2016
·
831
· sreid

Screen Sharing for the Terminal

Screen sharing applications are abundant, but ever wish you could share only your terminal?

Try tmate. Install it using homebrew:

brew tap nviennot/tmate
brew install tmate

Then to start a session just type:

tmate

To see the unique link, from inside the session type:

tmate show-messages

You'll see both a fully shared and a read-only ssh command. Your friend then can connect (without installing anything) by SSHing to the address.

Remote session read only: ssh ro-sjuH5ZZg0...@sf.tmate.io (clear your screen if you share this)
Remote session: ssh 1lbRBwjcdz...@sf.tmate.io

Important Note: If you're on OSX, and using iTerm2, you may have difficulty selecting text in the terminal. Solve this by holding down the option key while selecting.

For more, see http://tmate.io