Я создал сервер git и создал пустой репозиторий в своем экземпляре AWS, но при попытке клонировать его на локальный компьютер я получил эту ошибку.
git clone git_user1@AWS_IP:medicel_repo .
Cloning into '.'...
Load key "/Path/to/.ssh/medicel_aws_git.pub": Permission denied
git_user1@AWS_IP: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
https://i.stack.imgur.com/Z2XzP.png