Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
$ cd ~/.ssh
$ ssh-keygen -t ed25519 -f ~/.ssh/github_ed25519 -C $USER@asu.edu -N ''

This generates a public and private cryptographic key. A public cryptographic key is analogous to an ideal physical lock and a private cryptographic key is analogous to a physical key: it is safe to distribute as many copies of the public key as you want so long as you are the only one with access to the private key. You’ll need to provide github with a copy of your public key, but first you’ll need to configure SSH on Agave to know about your private key when connecting to github

...

CAREFULLY, modify your SSH configuration by running the following command (note line 5’s IdentityFile value must match the name of the file created in the last step, i.e. ~/.ssh/github_ed25519):

Code Block
$ cat >> ~/.ssh/config << EOF
Host github.com
  User         git
  Hostname     github.com
  IdentityFile ~/.ssh/github_ed25519
EOF

...