Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2023 20:57:47 +0100
From:      Tomek CEDRO <tomek@cedro.info>
To:        Dale Scott <dalescott@shaw.ca>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: push to github repo hangs - why? (how to push to Github from FreeBSD)
Message-ID:  <CAFYkXjmrBv_mgoxdvipKUCPpSY%2BPYbNYnDfbJ0e912tQeg5ZVA@mail.gmail.com>
In-Reply-To: <1461614347.22885986.1674746677113.JavaMail.zimbra@shaw.ca>
References:  <2088347522.21487875.1674704156310.JavaMail.zimbra@shaw.ca> <CAFYkXjkR9W85Wq8bwqc_m3C%2Brgx98njzBd9mVxS3pAnSwgc2Pg@mail.gmail.com> <1461614347.22885986.1674746677113.JavaMail.zimbra@shaw.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 26, 2023 at 4:24 PM Dale Scott wrote:
> (..)
> Thanks for replying Tomek. I'm not using gnpug (or gpg-agent or yubikey).=
 I had thought (clearly incorrectly) that simply entering my personal acces=
s token on the command line as my username password would work.
>
> As a temporary workaround, I copied the repository to a Windows laptop wh=
ere I pushed to my GitHub repo using GitExtensions. This resulted in some m=
agic (a browser window opened for me to login to GitHub to authenticate), a=
fter which the push proceeded. I then received an email from GitHub reporti=
ng "A first-party GitHub OAuth application (Git Credential Manager) with gi=
st, repo, and workflow scopes was recently authorized to access your accoun=
t."

Well, it seems that GitHub does not allow username + password
(credentials) auth, but oauth and ssh auth only. On windoze you were
redirected to oauth, but that was no user credentials auth.

Please try using ssh auth as descibed in other reply, this one should
work out of the box on all client platforms and most servers :-)

--=20
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXjmrBv_mgoxdvipKUCPpSY%2BPYbNYnDfbJ0e912tQeg5ZVA>