Share SSH Session with Others

From KlavoWiki
Jump to navigationJump to search

By using the screen tool you can share a SSH session with others. Good for training or collaboration.

Installation

apt-get -y install screen

or

yum -y install screen

First Person

Log onto your Linux server using ssh or even from the console if required/necessary. Once logged on:

sudo screen -L -S <SESSIONNAME>

You don't need to create a session name but it will make it easy to identify.

Additional Users

List current sessions

screen -ls

Connect to required session

screen -x <SESSIONNAME>