G
G
GS32020-09-01 14:45:05
git
GS3, 2020-09-01 14:45:05

How to fix error while working with git ssh?

I set up keys to work with git via ssh according to the instructions . further cloned the repository. I edit, I try to push, I get the following:

Unauthorized
fatal: Could not read from remote repository.

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


Tell me where is the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
FanatPHP, 2020-09-01
@FanatPHP

start simple,
ssh your.repo.tld
if it says permission denied - it means you added the key incorrectly ,
if it says that the authorization is successful, but there is no shell - then you added the key correctly and the problem is in the repository settings. check for which user you added the key and if he has the rights to the turnip

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question