2.1. Locations and Access

2.1.1. SSH tunnels

If you have a DLS FedID, but are not connected directly to the DLS network, you should set up a tunnel to the DLS network using an SSH client (PuTTY for Windows, SSH for Linux).

2.1.1.1. Tunnelling using PuTTY (Windows)

On Windows, we recommend PuTTY, a Free Telnet/SSH Client

  • Set Session ‣ Host Name to nx-staff.diamond.ac.uk (or as advised)
  • Set Session ‣ Port to 22
  • Set Connection ‣ Seconds between keepalives to 300 or some suitable value
  • Set Connection ‣ Data ‣ Auto-logon username to your FedID
  • Go to Connection ‣ SSH ‣ Tunnels and define two tunnels (using whatever local port numbers you want):
    • Set Source port to 5022, Destination to dasc-git.diamond.ac.uk:22 and click Add (5022 is user-selected)
    • Set Source port to 5080, Destination to dawn.diamond.ac.uk:80 and click Add (5080 is user-selected)
  • Go to Session, enter a suitable name in the Saved Sessions box, and click Save
  • Click Open to actually run the session and create the tunnels. You will be prompted for the password to your FedID.

2.1.1.2. Tunnelling using SSH (Linux)

On Linux, the following command will establish two tunnels (using whatever local port numbers you want):

  • ssh -L 5022:dasc-git.diamond.ac.uk:22 -L 5080:dawn.diamond.ac.uk:80 <FedID>@nx-staff.diamond.ac.uk (5022 and 5080 are user-selected)
  • You will be prompted for the password to your FedID

2.1.2. Locations

Repositories and p2 sites are hosted and/or mirrored in a number of locations:

DLS Subversion server

  • can be accessed from anywhere
  • access requires authorisation (authentication is with a DLS FedID and password)
  • is not mirrored externally

DLS Git server (Gitolite)

  • can only be accessed when connected to the DLS network, either directly or using SSH tunnels (PuTTY for Windows, SSH for Linux)
  • requires authorisation (authentication is with a public/private keypair)
  • some components are mirrored on GitHub

GitHub Git server - http://github.com/

  • can be accessed from anywhere
  • access can be anonymous, or optionally authenticated (is with a public/private keypair)

DLS p2 server - https://alfred.diamond.ac.uk/

  • can be accessed from anywhere