If you are outside IFA's firewall you need to have a pair of your
personal RSA keys. If you don't have the keys, you can create them with
the commands:
cd
cd .ssh
ssh-keygen -t rsa
It will ask you for a passphrase which you have to make up and remember.
If wverything goes right a private key, called "id_rsa", and a public key,
called "id_rsa.pub" are generated in your .ssh directory. The private key
has to be kept in the .ssh directory of the computer you want to login
from. The public key has to be trasferred to lifa and added to
the file ".ssh/authorized_keys" on lifa:
cat id_rsa.pub >> authorized_keys
After the public key had been added to authorized keys on lifa, all
computers with the corresponding private key can ssh into lifa as
ssh -X your_user_name@lifa.phys.au.dk
It will ask you for the pasphrase of the public key.
You can transfer the public key (which is one long line of characters)
to lifa by e.g.
- send the key to youself by email as an attachment;
- get a bootable Linux CD (you can borrow one from me) and boot one
of the computers in 1525-319 from this CD;
- open a terminal (Applications→Accessories→Terminal) and
ssh -X to lifa using your NFIT password (remember the
-X option: you will need it to run Firefox on lifa).
- run
firefox & on lifa, get your attachment and add it
to your .ssh/authorized_keys on lifa;
then connecting to
lifa from inside the firewall, e.g. through a cable connection at the
institute, reading your email from lifa an and adding the key to your
".ssh/authorized_keys".