The simplest way to login in remotely or copy files is to use SSH/SCP without keys. Try the following:-
ssh ppslgen
You should be prompted for your password and then will be logged into PPSLGEN.
When you do this for the very first time SSH will tell you that it cannot confirm the authenticity of the remote machine and asks for confirmation. The idea is that every machine running SSH has a unique ``fingerprint'' and SSH records in the file:-
$HOME/.ssh/known_hosts
the list of fingerprints of the hosts you use. Then if some hacker attempts to redirect your traffic to their machine the fingerprint won't match and SSH will refuse to connect. Occasionally a machine will be upgraded and its fingerprint will change. To get SSH to connect you will have to remove the old entry from $HOME/.ssh/know_hosts. Obviously you should only do this is you are expecting a change!
exit
to return to PPLXGEN.
Other points about using SSH:-
ssh ppslgen.physics.ox.ac.uk
user-name@remote-machine
For example from any machine on the internet I could:-
ssh west@pplxintnn.physics.ox.ac.uk
to login as west on one of the pplxint machines.
info ssh
A particularly useful one is -X which allows X output from the remote machine to be directed back to the local machine through the SSH communication channel. From pplxint9 type:-
ssh -X pplxint9
and once logged in type:-
echo $DISPLAY
You should see something like:-
localhost:10.0
which is a pseudo display that will send the X output back to your local machine. The actual number - 10 in this case - will vary.
In fact -X is the default for our local setup so it's not necessary to specify the option. If you really don't want the X output to be routed like that use the -x (lowercase) option.
To transfer files to a remote machine:-
scp local-file remote-file-spec
and to transfer files from a remote machine:-
scp remote-file-spec local-file
where remote-file-spec syntax is:-
user-name@remote-machine:remote-directory/remote-file
and takes defaults as follows:-
A couple of examples:-
scp my-file ppslgen:Copy local my-file to the home directory of my account on PPLXINT.
scp west@pplxint9.physics.ox.ac.uk:migrate/that-file this-fileCopy that-file from the migrate directory of account west on PPLXINT to local this-file.
Of course copying files between pplxint8 and pplxint9 is quite pointless - the same disks are visible from both machines, but it does demonstrate the principle.
Copying can involve wild-carding, if used remotely you have to enclose the remote-file-spec in double quotes to prevent the local shell attempting to expand the wild-card characters. For example:-
scp *.dat west@pplxint9.physics.ox.ac.uk:migrate/
scp "west@pplxint9.physics.ox.ac.uk:migrate/*.dat" ./