Share SSH Session with Others

From KlavoWiki
Revision as of 10:18, 10 October 2014 by David (Sọ̀rọ̀ | contribs) (Created page with "By using the screen tool you can share a SSH session with others. Good for training or collaboration. = Installation = <pre> apt-get -y install screen </pre> or <pre> yum -y...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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>