Sonntag, 30. September 2007

Protected screen session

You can protect the access to a screen (Terminalmultiplexer) session. Don’t use your usual password, because the method used is pretty weak (only standard DES) Open a screen session :

$ screen
Inside a session press "Ctrl + A", then type ":password", and two times the password. If the password is successfully set, you should see [Password moved into copybuffer] in the lower left corner of the terminal or at the tab. Now you can detach by pressing "Ctrl + a + d", the Output is [detached]. Reattach with "screen -r" or "screen -x" from the prompt.
$ screen -r [pid.]
Now you are prompted for the session password.

Keine Kommentare: