Before connecting to Perlmutter via Studio3T, you will need to set up a key pair so you can connect to Perlmutter from your machine. NERSC only allows keys created using "sshproxy" to be valid keys, so you will need to download sshproxy to your local machine. Refer to 🔑SSH Proxy at NERSC for additional details. Once your key-pair is set up, you can now connect to your Perlmutter MongoDB from Studio3T. Here are the directions for connecting to your Perlmutter MongoDB from Studio3T:
- After loading Studio3T, navigate to File → Connect → New connection
- Name your connection
- Under the Server tab, you will want:
- Connection Type: Standalone
- Server: <your_mongodb_servername>.nersc.gov (your_mongodb_servername will be provided by NERSC)
- Port: 27017
- Under the Authentication tab:
- Authentication Mode: Basic
- User name: <your_mongodb_username> (provided by NERSC)
- Password: <your_mongodb_password> (You will set this up in NERSC's directions)
- Authentication DB: <your_mongodb_name> (provided by NERSC)
- Under the SSH tab:
- SSH Address: perlmutter.nersc.gov
- Port: 22
- SSH Username: <your_nersc_username>
- SSH Auth Mode: Private Key
- Private Key: Path to your nersc private key, likely C:\Users\your_username\.ssh\nersc.ppk