diff --git a/github-from-the-consoles.md b/github-from-the-consoles.md new file mode 100644 index 0000000..415a3d0 --- /dev/null +++ b/github-from-the-consoles.md @@ -0,0 +1,13 @@ +Apparently, connecting to github via ssh is blocked on the consoles (the alternative route `ssh.github.com:443` also does not work anymore). + +For connecting via https, github does not allow using the password anymore. Instead, one needs a "personal access token", which can be created here: https://github.com/settings/tokens + +The token is then used instead of the password, i.e., pasted or typed into the authentication prompt. + +To automate this, the git credential store can be used. Enable it like this: + +``` +git config credential.helper store +``` + +Next time the "password" (actually the token!) will be asked, it will be stored. Afterwards, it won't be asked again. \ No newline at end of file