Saturday, February 9, 2013

GNU Screen Command





[CONTEXT]
Window manager that multiplexes a physical terminal between several processes, typically interactive shells.

[WHEN]
Pair remote programming/assistance. Using the multiuser mode to do pair programming or create a teaching environment.

[HOW]
sudo apt-get install screen

1. Change user to the username you want to allow screen access

2. To start up screen:
  screen -S sessionname

3. Now instruct the second/remote user to SSH connect to your host/IP and to attach to the screen
  screen -x sessionname


Both will be able to interact in the same session.


[REFERENCES]
http://www.gnu.org/software/screen

No comments:

Post a Comment