View previous topic :: View next topic |
Author |
Message |
charles17 Advocate

Joined: 02 Mar 2008 Posts: 3686
|
Posted: Sun Dec 03, 2017 12:15 pm Post subject: [SOLVED] clone repo using git+ssh:// |
|
|
Following https://wiki.gentoo.org/wiki/Github_Pull_Requests#Step_0:_User_configures_the_local_repository I am getting an error: Quote: | git clone -o upstream git+ssh://git@git.gentoo.org/repo/gentoo.git
Cloning into 'gentoo'...
The authenticity of host 'git.gentoo.org (148.251.78.52)' can't be established.
ECDSA key fingerprint is SHA256:lDtZUg9Kg55tWetA0Yf+eWAZdq/SvKPIgs65EPQ98ao.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added 'git.gentoo.org,148.251.78.52' (ECDSA) to the list of known hosts.
Authentication failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
|
Code: | $ ssh -vT git@git.gentoo.org
OpenSSH_7.5p1-hpn14v12, OpenSSL 1.0.2m 2 Nov 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to git.gentoo.org [148.251.78.52] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
...
|
Could someone please tell me what's missing?
Last edited by charles17 on Mon Dec 04, 2017 6:52 am; edited 1 time in total |
|
Back to top |
|
 |
Ant P. Watchman

Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sun Dec 03, 2017 5:22 pm Post subject: |
|
|
Only Gentoo developers get SSH access to git.gentoo.org, whoever wrote the page must not know that. Any of the other URLs at the bottom of https://gitweb.gentoo.org/repo/gentoo.git/ should work. |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23497
|
Posted: Sun Dec 03, 2017 5:35 pm Post subject: |
|
|
Ant P.'s explanation seems most likely. The immediate reason is that your ssh client is not offering an approved ssh key for Linux user git to log in on git.gentoo.org. If you aren't a Gentoo developer, that's normal and Ant P.'s advice is the best way to proceed. On the off chance that you are supposed to have SSH access to git.gentoo.org, then either the person who was supposed to whitelist your key did not do so, or your ssh client is not configured to offer the key.
Annotating Wiki history isn't nearly as nice as using git blame on regular text, but it looks like the incorrect step #0 was added by JStein on 30 November 2017. |
|
Back to top |
|
 |
charles17 Advocate

Joined: 02 Mar 2008 Posts: 3686
|
Posted: Mon Dec 04, 2017 6:53 am Post subject: |
|
|
Thanks Ant P. and Hu for clarification. |
|
Back to top |
|
 |
|