diff --git a/docs/githubssh.html b/docs/githubssh.html index dfb9250..7130dc0 100644 --- a/docs/githubssh.html +++ b/docs/githubssh.html @@ -683,7 +683,7 @@
🔐

Setup SSH in GitHub

Create Personal Access Token on GitHub

A personal access token is used in lieu of a password when cloning private repositories to your local machine or a server that runs with SSH.

  1. On GitHub, navigate to username > Settings > Developer settings > Personal access tokens > Tokens (classic) > Generate new token
  1. Press New personal access token (classic)
  1. Edit the note to reflect a descriptive title for what this is used for. For instance “github-user-login”
  1. Set an expiration date. This can be set to up to a year in the future.
  1. Select scopes (permissions) for what you can access with the personal access token. To be conservative select repo, write:packages, delete:packages, admin:public_key, read:user, write:discussion, project, and admin:ssh_signing_key

-

+

  1. Press Generate Token
  1. Copy the token now (you will only be able to see it once) and store it in a safe location. Important: copy the personal access token now and save it in a secure location
  1. On the mcc, change your git config settings to match your GitHub settings. Check these changes with git config -l
git config --global user.name "your_github_username"
     git config --global user.email "your_github_email"
     git config -l

Create GitHub SSH Keys

  1. Login to mcc or other secure shell.
ssh user@mcc.uky.edu