Computing and statistical data analysis:
remote login info
There are a number of ways to log in to the RHUL linux cluster.
Hopefully one of the options below will work for you.
Logging into linappserv1:
Once you have access to a unix environment (e.g. using one of the methods
below), from the unix prompt type:
ssh -X username@linappserv1.pp.rhul.ac.uk
where of course you put your username before the @. Remember that everything
is case sensitive.
You will be prompted for your password. If this works you
should get a prompt that looks like:
[linappserv1]~>
And you're in! To exit, type exit. Now to get access to a
unix environment in the first place, try one of the methods below.
From the RHUL teaching lab using cygwin:
The first bench of computers in the RHUL teaching lab (closest to the door)
should have cygwin installed (but as of 19 Oct this was only on the far
side of the first bench, 2nd computer from the left).
From the RHUL teaching lab using Exceed:
NB This no longer appears to work from RHUL -- please use cygwin
Most of computers in the RHUL teaching lab except the ones on the bench closest
to the door should have Exceed installed.
From UCL using Exceed:
I am told this is also possible and the instructions are probably similar
to above. Could one of the UCL students please send an update if needed.
Using Xming on your own computer:
You can download and install the x-windows server Xming on your own PC
(with Windows XP/2003/Vista). It is available free here. This
allows you to open an x-window and from there to login to other unix
machines using ssh. I have yet to test this one personally but it
appears to be a superior solution to installing cygwin (below). If
anyone gets this to work please let us know how it goes.
It should be enough to install xming-font, ssh and either putty or
x-ming-portable-putty (I think).
Note that the main difference between Xming and cygwin is that cygwin
provides a complete emulated unix environment on a windows computer.
This is nice but for us it's not necessary. Xming will simply allow
you to create e.g. an x-windows terminal window (an xterm) and from
there you connect to another linux machine with ssh.
Using cygwin on your own computer:
You can download and install the x-windows version of
cygwin from here.
I've copied some more information on how to install it into the file
here. (Or if this
doesn't work the older version of the notes is
here.)
The x-windows version of cygwin appears as of Oct 08 to be
no longer maintained. If there are difficulties with this then
Xming (above) could be a better solution.
From a Macintosh:
My understanding is that it's easy to bring up an xterm from Mac OS
and from there you can use ssh. I'm looking for details on this
(if anyone has details please let me know).
Transfering files to linappserv1:
For some of the course exercises it may be necessary to download files
from the web and then to transfer these files to the RHUL linux cluster,
linappserv1.pp.rhul.ac.uk.
First a warning: when you download a text file, e.g., a C++ source
file, from the web to a Windows machine, Windows may place the suffice
".txt" on the end. You don't want this and if it gets put on you
should rename the file to get rid of the .txt suffix.
To transfer files from a PC to linappserv1 you can use the program ftp
or one of its variants (sftp, psftp, WinSCP3). From RHUL the following
appears to work:
It should also be possible to use psftp via PUTTY; but from the RHUL computers
I couldn't get this to work. If anyone has better luck with this please let us
know.
Update -- thanks to Andy for the following recipes using OpenSSH's
secure copy, SCP (substitute your username appropriately):
scp myfile username@linappserv1.pp.rhul.ac.uk:/home/username/
or to transfer from the server back to my laptop:
scp username@linappserv1.pp.rhul.ac.uk:/home/username/myfile ./
This works on Mac OSX, Ubuntu Linux and on Windows. WinSCP is available
here:
http://winscp.net/eng/index.php
It comes with OSX and Linux as standard. You can transfer entire
directories too. To the server:
scp -r myfolder username@linappserv1.pp.rhul.ac.uk:/home/username
From the server:
scp -r username@linappserv1.pp.rhul.ac.uk:/home/username ./
Glen Cowan