Saturday 22 May 2010

persistent ssh with screen

Log into the remote machine with ssh

type, `screen'

work as normal.

Kill the connection or Detatch (CTRL-A d) the session.

Reconnect. Type, screen -ls

The screen session should be listed. (r)econnect to it by typing,

screen -r

Where is the information listed from screen -ls

--Naming----------------
screen -S test : create a new screen with the name, `test'

Or, within session: CTRL-A : sessionname test

------------------------

No comments:

Post a Comment