Answer the question
In order to leave comments, you need to log in
How to do a git pull on a server where access is only available via ssh key?
Hello!
Restricted access to the server: denied access with a password, denied access under root, left access only by ssh key. Out of habit, I do git pull in the project, and he tells me:
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Something stupid and I do not understand how to be. I don’t want to drop files using scp every time, should there be any other ways?
Answer the question
In order to leave comments, you need to log in
Что то туплю и не пойму как быть.Добавить в gitlab публичный ключ сервера.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question