public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
* My account cannot read/write git+ssh://qinzhao@gcc.gnu.org/git/gcc.git
@ 2020-10-08 13:46 Qing Zhao
  2020-10-08 13:51 ` Frank Ch. Eigler
  2021-10-15 16:44 ` Qing Zhao
  0 siblings, 2 replies; 10+ messages in thread
From: Qing Zhao @ 2020-10-08 13:46 UTC (permalink / raw)
  To: overseers

Dear administrator,

I am trying to clone the write-accessible git repository 

git+ssh://qinzhao@gcc.gnu.org/git/gcc.git <git+ssh://qinzhao@gcc.gnu.org/git/gcc.git>

Today in order to commit one patch to gcc upstream,

However I was not able to do it (I have been able to do this previously on other machine):

qinzhao@gcc10:~/.ssh$ git clone git+ssh://qinzhao@gcc.gnu.org/git/gcc.git <git+ssh://qinzhao@gcc.gnu.org/git/gcc.git> gcc
Cloning into 'gcc'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

What’s this issue? How can I resolve it?

Thanks a lot for your help.

Qing

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: My account cannot read/write git+ssh://qinzhao@gcc.gnu.org/git/gcc.git
  2020-10-08 13:46 My account cannot read/write git+ssh://qinzhao@gcc.gnu.org/git/gcc.git Qing Zhao
@ 2020-10-08 13:51 ` Frank Ch. Eigler
  2020-10-08 13:52   ` Qing Zhao
  2021-10-15 16:44 ` Qing Zhao
  1 sibling, 1 reply; 10+ messages in thread
From: Frank Ch. Eigler @ 2020-10-08 13:51 UTC (permalink / raw)
  To: Overseers mailing list; +Cc: overseers, Qing Zhao

Hi -

Your replacement ssh public key is now installed.

- FChE

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: My account cannot read/write git+ssh://qinzhao@gcc.gnu.org/git/gcc.git
  2020-10-08 13:51 ` Frank Ch. Eigler
@ 2020-10-08 13:52   ` Qing Zhao
  0 siblings, 0 replies; 10+ messages in thread
From: Qing Zhao @ 2020-10-08 13:52 UTC (permalink / raw)
  To: Frank Ch. Eigler; +Cc: Overseers mailing list, overseers

Thanks.

I can clone the repository now.

Qing

> On Oct 8, 2020, at 8:51 AM, Frank Ch. Eigler <fche@elastic.org> wrote:
> 
> Hi -
> 
> Your replacement ssh public key is now installed.
> 
> - FChE


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: My account cannot read/write git+ssh://qinzhao@gcc.gnu.org/git/gcc.git
  2020-10-08 13:46 My account cannot read/write git+ssh://qinzhao@gcc.gnu.org/git/gcc.git Qing Zhao
  2020-10-08 13:51 ` Frank Ch. Eigler
@ 2021-10-15 16:44 ` Qing Zhao
  2021-10-15 16:59   ` Frank Ch. Eigler
  1 sibling, 1 reply; 10+ messages in thread
From: Qing Zhao @ 2021-10-15 16:44 UTC (permalink / raw)
  To: overseers

Dear administrator,

If I want to clone the git repository:

git+ssh://qinzhao@gcc.gnu.org/git/gcc.git

In a new machine, what should I do?

Can I add the key to the gitlab myself?

Thanks.

Qing

> On Oct 8, 2020, at 8:46 AM, Qing Zhao <qing.zhao@oracle.com> wrote:
> 
> Dear administrator,
> 
> I am trying to clone the write-accessible git repository 
> 
> git+ssh://qinzhao@gcc.gnu.org/git/gcc.git
> 
> Today in order to commit one patch to gcc upstream,
> 
> However I was not able to do it (I have been able to do this previously on other machine):
> 
> qinzhao@gcc10:~/.ssh$ git clone git+ssh://qinzhao@gcc.gnu.org/git/gcc.git gcc
> Cloning into 'gcc'...
> Permission denied (publickey).
> fatal: Could not read from remote repository.
> 
> Please make sure you have the correct access rights
> and the repository exists.
> 
> What’s this issue? How can I resolve it?
> 
> Thanks a lot for your help.
> 
> Qing


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: My account cannot read/write git+ssh://qinzhao@gcc.gnu.org/git/gcc.git
  2021-10-15 16:44 ` Qing Zhao
@ 2021-10-15 16:59   ` Frank Ch. Eigler
  2021-10-15 19:17     ` Qing Zhao
  0 siblings, 1 reply; 10+ messages in thread
From: Frank Ch. Eigler @ 2021-10-15 16:59 UTC (permalink / raw)
  To: Overseers mailing list; +Cc: overseers, Qing Zhao

Hi -

> If I want to clone the git repository:
> git+ssh://qinzhao@gcc.gnu.org/git/gcc.git

Use the git://gcc.gnu.org/git/gcc.git for anonymous checkouts.

> In a new machine, what should I do?

Copy your previous machine's ssh keypair over, if possible.

> Can I add the key to the gitlab myself?

See https://sourceware.org/sourceware/accountinfo.html

- FChE

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: My account cannot read/write git+ssh://qinzhao@gcc.gnu.org/git/gcc.git
  2021-10-15 16:59   ` Frank Ch. Eigler
@ 2021-10-15 19:17     ` Qing Zhao
  0 siblings, 0 replies; 10+ messages in thread
From: Qing Zhao @ 2021-10-15 19:17 UTC (permalink / raw)
  To: Frank Ch. Eigler; +Cc: Overseers mailing list, overseers

Thanks a lot for the help.

Qing

> On Oct 15, 2021, at 11:59 AM, Frank Ch. Eigler <fche@elastic.org> wrote:
> 
> Hi -
> 
>> If I want to clone the git repository:
>> git+ssh://qinzhao@gcc.gnu.org/git/gcc.git
> 
> Use the git://gcc.gnu.org/git/gcc.git for anonymous checkouts.
> 
>> In a new machine, what should I do?
> 
> Copy your previous machine's ssh keypair over, if possible.
> 
>> Can I add the key to the gitlab myself?
> 
> See https://sourceware.org/sourceware/accountinfo.html
> 
> - FChE


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: My account cannot read/write git+ssh://qinzhao@gcc.gnu.org/git/gcc.git
  2020-10-07 14:20   ` Qing Zhao
@ 2020-10-07 14:24     ` Frank Ch. Eigler
  0 siblings, 0 replies; 10+ messages in thread
From: Frank Ch. Eigler @ 2020-10-07 14:24 UTC (permalink / raw)
  To: Qing Zhao; +Cc: Overseers mailing list, overseers

Hi -

> > Copy your private/public keypair from that machine to this other one.

> The problem is that I cannot log into the other machine that works
> before, so I think that I lost the private/public key.

Oh.  Please send a new .pub key then.

> I tried the following in order to add the current public key, however it failed:
> 
> qinzhao@gcc10:~/.ssh$ ssh qinzhao@gcc.gnu.org appendkey < id_rsa.pub
> Permission denied (publickey).

Yes, naturally that can't work, or else anyone on the internet could
log in and change your credentials.

- FChE

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: My account cannot read/write git+ssh://qinzhao@gcc.gnu.org/git/gcc.git
  2020-10-07 14:17 ` Frank Ch. Eigler
@ 2020-10-07 14:20   ` Qing Zhao
  2020-10-07 14:24     ` Frank Ch. Eigler
  0 siblings, 1 reply; 10+ messages in thread
From: Qing Zhao @ 2020-10-07 14:20 UTC (permalink / raw)
  To: Frank Ch. Eigler; +Cc: Overseers mailing list, overseers



> On Oct 7, 2020, at 9:17 AM, Frank Ch. Eigler <fche@elastic.org> wrote:
> 
> HI -
> 
>> However I was not able to do it (I have been able to do this
>> previously on other machine):
> 
> Copy your private/public keypair from that machine to this other one.

The problem is that I cannot log into the other machine that works before, so I think that I lost the private/public key.

I tried the following in order to add the current public key, however it failed:

qinzhao@gcc10:~/.ssh$ ssh qinzhao@gcc.gnu.org appendkey < id_rsa.pub
Permission denied (publickey).


Qing
> 
> - FChE


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: My account cannot read/write git+ssh://qinzhao@gcc.gnu.org/git/gcc.git
  2020-10-07 14:15 Qing Zhao
@ 2020-10-07 14:17 ` Frank Ch. Eigler
  2020-10-07 14:20   ` Qing Zhao
  0 siblings, 1 reply; 10+ messages in thread
From: Frank Ch. Eigler @ 2020-10-07 14:17 UTC (permalink / raw)
  To: Overseers mailing list; +Cc: overseers, Qing Zhao

HI -

> However I was not able to do it (I have been able to do this
> previously on other machine):

Copy your private/public keypair from that machine to this other one.

- FChE

^ permalink raw reply	[flat|nested] 10+ messages in thread

* My account cannot read/write git+ssh://qinzhao@gcc.gnu.org/git/gcc.git
@ 2020-10-07 14:15 Qing Zhao
  2020-10-07 14:17 ` Frank Ch. Eigler
  0 siblings, 1 reply; 10+ messages in thread
From: Qing Zhao @ 2020-10-07 14:15 UTC (permalink / raw)
  To: overseers

Dear administrator,

I am trying to clone the write-accessible git repository 

git+ssh://qinzhao@gcc.gnu.org/git/gcc.git <git+ssh://qinzhao@gcc.gnu.org/git/gcc.git>

Today in order to commit one patch to gcc upstream,

However I was not able to do it (I have been able to do this previously on other machine):

qinzhao@gcc10:~/.ssh$ git clone git+ssh://qinzhao@gcc.gnu.org/git/gcc.git gcc
Cloning into 'gcc'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

What’s this issue? How can I resolve it?

Thanks a lot for your help.

Qing

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-10-15 19:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-08 13:46 My account cannot read/write git+ssh://qinzhao@gcc.gnu.org/git/gcc.git Qing Zhao
2020-10-08 13:51 ` Frank Ch. Eigler
2020-10-08 13:52   ` Qing Zhao
2021-10-15 16:44 ` Qing Zhao
2021-10-15 16:59   ` Frank Ch. Eigler
2021-10-15 19:17     ` Qing Zhao
  -- strict thread matches above, loose matches on Subject: below --
2020-10-07 14:15 Qing Zhao
2020-10-07 14:17 ` Frank Ch. Eigler
2020-10-07 14:20   ` Qing Zhao
2020-10-07 14:24     ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).