Answer the question
In order to leave comments, you need to log in
How to connect via SSh to Gitlab?
I created a key, added it to Gitlab, when I try to clone the repository, I get an error.
The authenticity of host <тут мой хост> can't be established.
ECDSA key fingerprint is SHA256:H4esVumjkGzu7rhgmtNX6nbvXfQCXk1iNfrvccpl2UDCg30.
Are you sure you want to continue connecting (yes/no)?
Host key verification failed.
fatal: Не удалось прочитать из внешнего репозитория.
Удостоверьтесь, что у вас есть необходимые права доступа
и репозиторий существует.
Answer the question
In order to leave comments, you need to log in
your public ssh key must be added to the server first.
generate a pair of keys for yourself if you don’t have them yet: ssh-keygen -t rsa
find the id_rsa.pub file in the .ssh/ folder, and add its contents to the server (sorry, I don’t have gitlab at hand, and I don’t remember exactly where this setting is , but it is unlikely that this is very hidden).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question