Create a config file on your local machine using one of our templates. Select the instructions relevant to you under the “Example Config Files” section at https://dev.llnl.gov/securityaccess/ssh/. For example, you will go to https://dev.llnl.gov/securityaccess/ssh/rz_user/ if you are a CZ & RZ user.
-
Copy the text of the template to a file at ~/.ssh/config on your local system.
-
Make the following adjustements to your copy of config:
- Make sure the ssh (private) key file named on the line IdentityFile ~/.ssh/id_rsa matches your own.
- Make sure you add your LC username on the last line of the file User <YOUR_LC_USERNAME_HERE>, replacing <YOUR_LC_USERNAME_HERE>.
- Make sure the config file, like your ssh keys, lives in $HOME/.ssh.