SSH Client Configuration

To simplify the SSH connections to the Temple cluster, you can add a SSH configuration in your home in ~/.ssh/config:

Host training1
   Hostname training1.hpc.temple.edu
   User student
   Port 666

Host training2
   Hostname training2.hpc.temple.edu
   User student
   Port 666

This will allow you to jump to training1 and training2 directly.

ssh training1
ssh training2

You can also create a configuration that lets you jump directly into the master node:

Host masterX
   Hostname masterX
   User root
   ProxyJump student@training1.hpc.temple.edu:666

This then allows you to connect to masterX:

ssh masterX

To avoid having to type in the password every time, you can register your private key on that master using

ssh-copy-id -i ~/.ssh/id_rsa masterX

The first time you connect you will have to type the password, but the second time it will just go into the master directly.