GNU Screen
GNU Screen provides virtual multiple screen for a user. Logging in remotely via SSH, a process or program will still continue running even if the line disconnects or the user logs out.
Required to install GNU Screen package.
eg, yum install screen
To start a virtual screen, eg session name=myview01
screen -S myview01
To disconnect/detach
Ctrl+a, d
To reconnect/reattach
screen myview01
Type 'exit' to end screen session
To share/remote Screen
Local machine (user01)
chmod u+s /usr/bin/screen
chmod 755 /var/run/screen
screen -S mywork
Ctrl+a :multiuser on
Ctrl+a :acladd user02
Remote user (user02)
SSH to machine
screen -x user01/mywork
Required to install GNU Screen package.
eg, yum install screen
To start a virtual screen, eg session name=myview01
screen -S myview01
To disconnect/detach
Ctrl+a, d
To reconnect/reattach
screen myview01
Type 'exit' to end screen session
To share/remote Screen
Local machine (user01)
chmod u+s /usr/bin/screen
chmod 755 /var/run/screen
screen -S mywork
Ctrl+a :multiuser on
Ctrl+a :acladd user02
Remote user (user02)
SSH to machine
screen -x user01/mywork
1 Comments:
Using Scrollback in Screen.
#Set scrollback line=5000
screen -h 5000
#View scrollback
Ctrl + a + [
Ctrl + b ->full page up
Ctrl + f ->full page down
Esc -> exit scrollback
Post a Comment
<< Home