[cfarm-users] Unable to git pull on gcc112

Jonathan Wakely jwakely.gcc at gmail.com
Wed Mar 30 12:02:16 CEST 2022


On Wed, 30 Mar 2022 at 10:57, Jonathan Wakely <jwakely.gcc at gmail.com> wrote:
>
> On Wed, 30 Mar 2022 at 10:37, Andreas Schwab wrote:
> >
> > On Mär 30 2022, Jonathan Wakely via cfarm-users wrote:
> >
> > > On Wed, 30 Mar 2022 at 02:30, Jeffrey Walton via cfarm-users
> > > <cfarm-users at lists.tetaneutral.net> wrote:
> > >> When I try git://github.com/weidai11/cryptopp/:
> > >>
> > >> $ git pull
> > >> fatal: remote error:
> > >>  The unauthenticated git protocol on port 9418 is no longer supported.
> > >
> > > That means you're not authenticated, i.e. you don't have your ssh key
> > > in use on the machine.
> >
> > The git: protocol does not use any authentication.  This has nothing to
> > do with ssh.
>
> It does with github though, doesn't it?
>
> I think the git://github.com URLs are really git+ssh:// so if you
> don't have a key, it fails.

Oh no, I can't read (and neither can Jeffrey ;-)

The correct URL for cloning over SSH starts git at github (i.e. git is
the username, not the git:// protocol).

Jeffrey's second URL starts with git:// which is no longer supported,
as explained at
https://github.blog/2021-09-01-improving-git-protocol-security-github/

Switching to use the git at github.com URL should work.

I still don't know why he couldn't use the unauthenticated HTTPS URL,
because that works fine for me on gcc112 with /usr/bin/git or the
newer on in /opt/cfarm.


More information about the cfarm-users mailing list