A
A
Alexander2016-09-14 11:27:58
git
Alexander, 2016-09-14 11:27:58

ssh won't start ( Permission denied (publickey) )?

I just made a set of commands:
git init
git remote add origin my_repo
git add .
git commit -m "f commit"
git push origin master and after that :

Permission denied (publickey).
fatal: Could not read from remote repository.

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

The whole Internet was clambered but did not find a solution for itself.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Danil Biryukov-Romanov, 2016-09-14
@urtow

Have you uploaded the public key to bitbucket?
Does git know where your key is? (if the keys are not named by default)
Are the rights to the key and its directory correct? (should be 400)

S
Smithson, 2016-09-14
@Smithson

How to make friends with a project and a remote repository via ssh key in github?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question