Re: push to github repo hangs - why? (how to push to Github from FreeBSD)
- Reply: Dale Scott : "Re: push to github repo hangs - why? (how to push to Github from FreeBSD)"
- Reply: Graham Perrin : "GitHub: personal access tokens (classic) (was: push to github repo hangs - why?)"
- In reply to: Dale Scott : "Re: push to github repo hangs - why? (how to push to Github from FreeBSD)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Jan 2023 19:57:47 UTC
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 access token on the command line as my username password would work. > > As a temporary workaround, I copied the repository to a Windows laptop where I pushed to my GitHub repo using GitExtensions. This resulted in some magic (a browser window opened for me to login to GitHub to authenticate), after which the push proceeded. I then received an email from GitHub reporting "A first-party GitHub OAuth application (Git Credential Manager) with gist, repo, and workflow scopes was recently authorized to access your account." 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 :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info