With tmux you can share a shell session between different users.
It provides an easy way to work together in a bash shell from different locations.
It is as easy as:
$ ssh localhost $ tmux
$ ssh localhost $ tmux attach
Now both users are in a shared terminal environment and can input/output to the same terminal.
More useful example can be found here: