M
M
Maxim Tarabrin2018-03-25 17:59:39
git
Maxim Tarabrin, 2018-03-25 17:59:39

Git clone using SSH under ubuntu?

Friends I use gitbucket as a repository. From under the ubuntu server I want to do a git clone, but I get an error:
Cloning into 'sheduleapp'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I went through the instructions, generated the key and copied cat ~/.ssh/id_rsa.pub to access keys
5ab7b9023c338285955642.png
Also tried to paste the key for the user and since I am the owner of the repository, it should have worked but no.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Decadal, 2018-03-25
@Decadal

You need SSH keys, not access keys.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question