[K12OSN] Additional screen for terminals - ssh
Shawn Austin
austinsr at uindy.edu
Tue Apr 20 16:29:32 UTC 2004
The ltsp 4.0 documentation is here:
http://www.ltsp.org/ltsp-4.html
On Tue, 2004-04-20 at 20:34, Henning Petersen Wangerin wrote:
> On Tue, 20 Jan 2004 15:11:54 -0500, you wrote:
>
> > This is from the 4.0 ltsp documentation:
>
>
> ahhh where do I find that? I could only find 3.0 docs on ltsp.org !?!
> isn't that a little old now?
>
> > Seeing how it was commented as a future add-on for SSH, I thought I
> > would share my quick implementation of this with everyone.
>
> Works great when using
> SSH_HOST =x.x.x.x
> SCREEN_xx = ssh
> SCREEN_yy = ssh
>
> but when connecting to multible servers
>
> SSH_HOST =x.x.x.x
> SCREEN_xx = ssh x.x.x.x
> SCREEN_yy = ssh y.y.y.y
>
> I can only login as root, no matter what I enter as usename!
>
The easiest way I can think of to have multiple servers in the console
like that would be to make a copy of the ssh script in
/opt/ltsp/i386/etc/screen.d/ and call it ssh2 or something. Then edit
the new ssh2 script and change all the references of SSH_HOST to
something like SSH2_HOST and then have another entry in the lts.conf
file for the value SSH2_HOST=y.y.y.y
Its not a very elagant solution, but it will work if your in a pinch.
> > I am using this for kiosks for our registration terminals to sign up for
> > classes each semester.
> >
> > The machine boots and then initiates a ssh connection to the SIS system,
> > where a staff member from our admissions department goes through the
> > process of registering a student for a class.
>
> Cool.
> Sounds like a nice and simple way to flip a terminal int a different
> use.
>
> > Here is an example config that I am using for an alias definition.
> > [reg-term]
> > SCREEN_01 = ssh
> > SSH_HOST = host.name
> > LOCAL_APPS = N
> > USE_NFS_SWAP = N
> > SWAPFILE_SIZE = 48m
> >
> >
> > I then just have individual entries further down the conf file for each
> > stations.
> >
> > Example:
> > [ws059]
> > LIKE = reg-term
> >
> > This just runs a machine with screen 1 being a ssh session back to our
> > SIS system. No X on this machine, because it doesn't need it.
>
> is it possible to use a combination of both?
>
It definately works to have a like section and then additional options
under it. Its a great way to test a setup.
Any value that is in the LIKE section that is re-defined in the machine
setting will override the values in the LIKE definition.
> Like this:
> [kids]
> SCREEN_01 = startx
> SCREEN_02 = phone
> # I'm thinging of making all terminal act as VoIP-phones
> [a]
> LIKE = kids
> x_MODE_0 = 800x600 60Hz
> [b]
> LIKE = kids
> x_MODE_0 = 800x600 75Hz
> [c]
> LIKE = kids
> x_MODE_0 = 1024x768 75Hz
More information about the K12OSN
mailing list