(NEW) Connecting to the cluster with cherf
Disclaimer
If you haven’t already read it, please go read the original instructions on how to connect to the cluster, which is available here. This new method is not entirely foolproof, so the old method should be used as a fallback. Also, the old blog post has important details on the cluster topology.
New connection method
I spent some time writing a new tool, cherf, to make connecting to the server easier. The readme over on github has more details on how it works, but the basic steps to use it are as follows:
- Build
cherf
from scratch, or download a pre-built binary (on the releases page. - Add
cherf
binary toPATH
(and set as executable if you downloaded it). - Create an X509 certificate signing request:
mkdir ~/.cherf openssl req -newkey rsa:2048 -keyout ~/.cherf/key -out csr
- Send
csr
to a system administrator (see AI Safety Discord), and you will receive a certificate, which you should save as~/.cherf/cert
. - Download
sullivan
’s SHA1 signature, and save it as~/.cherf/sullivan.sha1
. This is available here. - Edit your ssh config:
Host sullivan ProxyCommand cherf client ssh cherf.ais-ucla.org 1234 sullivan ProxyUseFdpass yes ...
- You can now connect (ie.
ssh sullivan
).
Not working?
Experiencing issues? First visit this website, and ensure your NAT type is not “Symmetric NAT”. If it is not, please open an issue here.