Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git clone minoca/third-party over ssh fails #38

Closed
melezhik opened this issue Nov 4, 2016 · 4 comments
Closed

git clone minoca/third-party over ssh fails #38

melezhik opened this issue Nov 4, 2016 · 4 comments

Comments

@melezhik
Copy link
Contributor

melezhik commented Nov 4, 2016

root@Debian-jessie-amd64-netboot:~/minoca# git clone git@gitlab.com:minoca/third-party.git
Cloning into 'third-party'...
The authenticity of host 'gitlab.com (104.210.2.228)' can't be established.
ECDSA key fingerprint is f1:d0:fb:46:73:7a:70:92:5a:ab:5d:ef:43:e2:1c:35.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'gitlab.com,104.210.2.228' (ECDSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
@melezhik
Copy link
Contributor Author

melezhik commented Nov 4, 2016

this is not urgent, but just FYI ...

@evangreen
Copy link
Collaborator

I get the same error on my macbook, so I don't think this is a Minoca issue. You probably need to have a public key registered with gitlab to clone over SSH. I think you can do anonymous gitlab clones via:
git clone https://gitlab.com/minoca/third-party.git

@melezhik
Copy link
Contributor Author

melezhik commented Nov 4, 2016

yeah, cloning over http does work. I wonder why it does not with ssh , as in both times we deal with the same gitlab project ... but as I told this is "just FIY" issue, you may close this one ...

@drawkula
Copy link

drawkula commented Nov 4, 2016

I'm using ssh:

$ grep url .git/config 
        url = git@gitlab.com:minoca/third-party.git
$ git pull
Already up-to-date.

I have dropped some keys @GitLab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants