Re: cannot access to postgres-git via ssh - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: cannot access to postgres-git via ssh
Date
Msg-id CABUevEy-hHAJLcMM0=xTSGty9neH3=he8N=L9KR0oJmwLHPLEQ@mail.gmail.com
Whole thread Raw
In response to cannot access to postgres-git via ssh  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
List pgsql-hackers
On Thu, Aug 26, 2021 at 9:34 AM Kyotaro Horiguchi
<horikyota.ntt@gmail.com> wrote:
>
> Hello.
>
> I'm facing a difficulty on cloning a repository via ssh.
>
> I understand that git repository can be accessed via http, git and ssh
> protocol, and ssh access uses the ssh public key registered in
> community account profile. I registered one in ecdsa-sha2-nistp256
> that I believe the server accepts.  I waited for more than 1 hour
> since key registration until the operation.

Hi!

ssh based access only works for repositories where you have explicit
permissions, it does not support anonymous access -- that has to be
over https (recommended) or git.

And specifically, the postgresql.git repo mirror only allows anonymous access.

-- 
 Magnus Hagander
 Me: https://www.hagander.net/
 Work: https://www.redpill-linpro.com/



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Trap errors from streaming child in pg_basebackup to exit early
Next
From: Peter Smith
Date:
Subject: Re: row filtering for logical replication