[aklug] Re: Behold - Quick and dirty shared screen

From: R Denison <gaijin@gci.net>
Date: Thu Nov 01 2012 - 17:58:23 AKDT

On 11/01/2012 01:57 PM, Shane Spencer wrote:
> This couldn't be easier.. we've been using this for a while as well to
> help me train others.
>
> --------
> #!/bin/sh
>
> if [ -z $1 ]; then echo "No Session Name Defined"; exit; fi;
>
> xterm -fg white -bg black -g 180x50 -e "ssh -t screen@10.1.0.1 screen
> -U -xRR -S $1
> --------
>
> There are a lot of projects out there to help people share a text
> session. This one is pretty simple assuming that:
>
> 10.1.0.1 is the name of a shared machine
>
> screen is the name of the user (screen@10.1.0.1)
>
> and everybody knows the password or has a key in place
>
> I just yell out 'behold watchme' and the 'watchme' session is created
> remotely. Using session names allows us to run several screen
> sessions on the remote users account.
>
> I think I posted this to aklug before.. searching didn't find it.

Clever trick. You've been on a roll with this, every couple of weeks
you pop out something else interesting / useful. Many thanks!

R.
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Thu Nov 1 17:57:42 2012

This archive was generated by hypermail 2.1.8 : Thu Nov 01 2012 - 17:57:42 AKDT