From 26ac979e8d244f8e0af331f3c307bd72a3336bcd Mon Sep 17 00:00:00 2001 From: augustin_s Date: Wed, 20 Nov 2024 14:11:13 +0100 Subject: [PATCH] Create github from the consoles --- github-from-the-consoles.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 github-from-the-consoles.md 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