After following Yi-Cheng's tutorial on cloning a repository (step 1.1), I realized that certain configuration settings were necessary in the SSH configuration file on Gaea if I want to use SSH approach rather than HTTP. This might be specific to my setup, but I thought I'd share in case others encounter similar issues.
You may need to add the following to /ncrc/home1/XX.XX/.ssh/config
_# START GitHub SSH key
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/id_rsagit
# END GitHub SSH key
Note: Because I already have SSH keys created previously (id_rsa), id_rsa_git is the custom-named SSH key created from step 0.0 of the tutorial. You may change the name of the key based on your preference.
After following Yi-Cheng's tutorial on cloning a repository (step 1.1), I realized that certain configuration settings were necessary in the SSH configuration file on Gaea if I want to use SSH approach rather than HTTP. This might be specific to my setup, but I thought I'd share in case others encounter similar issues.
You may need to add the following to /ncrc/home1/XX.XX/.ssh/config
_# START GitHub SSH key Host github.com HostName github.com User git IdentityFile ~/.ssh/id_rsagit # END GitHub SSH key
Note: Because I already have SSH keys created previously (id_rsa), id_rsa_git is the custom-named SSH key created from step 0.0 of the tutorial. You may change the name of the key based on your preference.