Local updates

You can just paste the whole block below into a shell.

# This script will try not to make changes twice, so it
# should be safe to run it more than once.
 
# Update the ssh tunnel configuration so it does not break after 20 s of idleness
sed -i s/-w/-q/ .ssh/config
Running ipython notebook on the big iron
  1. Make sure you have run the fixes listed above
  2. Decide what user name you'll be using (labelled “USER” below). The user name and login details are given on the pages with login and network details you received on the first day.
  3. Pick a random port number between 6001 and 12000 (labelled “PORT” below).
  4. Open the connection on port PORT:
  u=USER && p=PORT && ssh -Mt -o ExitOnForwardFailure=yes -L $p:localhost:$p $u@sgi01 PATH=/home/francesc/anaconda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/var/cfengine/bin ipython notebook --no-browser --port=$p

You'll have to type in the password for USER twice.

Finally launch the browser:

  firefox http://localhost:PORT/