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.
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Thu Nov 1 13:56:39 2012
This archive was generated by hypermail 2.1.8 : Thu Nov 01 2012 - 13:56:39 AKDT