Pryor (SSH Gateway)#

The School provides an SSH Gateway service to Staff and RD Students which allows remote access to the HPC

It’s address is pryor.lshtm.ac.uk

When you request access to the HPC we will also grant you access to Pryor.

Once you’ve been granted access, you can sign in while on site or in remote desktop.

However before you can sign in remotely, you will need to upload your public SSH key.

We have guides on how to generate an SSH key pair on service desk:

https://lshtm.topdesk.net/tas/public/ssp/content/detail/knowledgeitem?unid=1e2bcbd9-9a7a-40ba-b3e6-4bfc2fb9e257

https://lshtm.topdesk.net/tas/public/ssp/content/detail/knowledgeitem?unid=816e1905-5cd9-4085-8272-620aa79d83a3

After you’ve created your key, sign into Pryor using SSH in remote desktop (You can use the Putty application to do this), then copy and paste your public key into the authorized_keys file.

You can find it here: /home/[your_username]/.ssh/authorized_keys

If you’re having trouble we can upload the key for you.

Once your key’s been uploaded, you can log into Pryor using your private key from a remote computer.

We have a guide on connecting to pryor and accessing the hpc from it here:

https://lshtm.topdesk.net/tas/public/ssp/content/detail/knowledgeitem?unid=ade5120d-2322-401d-94c1-feb3d188e78c

You can create a config file in your .ssh directory to simplify connection to pryor.

The .ssh directory can be found on Windows in C:/Users/[your_usename]/.ssh and on Mac and Linux in /home/[your_username]/.ssh

Create a text file called config

Edit the file and enter the following text:

Host pryor
                HostName pryor.lshtm.ac.uk
                User lshtm_username
                IdentityFile your_pryor_private_key_location

Host loginhpc
                HostName loginhpc.lshtm.ac.uk
                ProxyJump pryor
                User lshtm_username

Now when you user the ssh or scp command you can use the alias loginhpc to jump directly to the HPC.