Skip to content

Instantly share code, notes, and snippets.

@alyssais
Last active October 3, 2024 14:01
Show Gist options
  • Save alyssais/3c1578f0b602fa4d52dc to your computer and use it in GitHub Desktop.
Save alyssais/3c1578f0b602fa4d52dc to your computer and use it in GitHub Desktop.
Easy DICE SSH for University of Edinburgh School of Informatics students

Easy DICE SSH

This is my SSH config that makes connecting to DICE easier It goes through the gateway automatically and you don't have to specify your username every time.

To use, add this content to ~/.ssh/config, (or whatever the SSH config file is on Windows), and replace sXXXXXXX with your login.

Once you're set up you should just be able to ssh student.login and enter your password.

If you're using student.compute, you can also ssh student.compute

# Univerity of Edinbrugh School of Informatics computers
Host schiff.inf.ed.ac.uk ssh.inf.ed.ac.uk student.ssh.inf.ed.ac.uk dice
User sXXXXXXX
HostName ssh.inf.ed.ac.uk
Host student.login internal
User sXXXXXXX
HostName student.login
ProxyCommand ssh [email protected] -W %h:%p
Host student.compute internal
User sXXXXXXX
HostName student.compute
ProxyCommand ssh [email protected] -W %h:%p
# Work around a security issue
UseRoaming no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment