I made an AWS account and I'm having difficulty organizing and configuring repositories with GIT.
I already have APACHE, PHP and MYSQL and GIT installed. I created a / var / git folder to organize the repositories, and subfolders for each client: git / client1 /
I started the repository with "git --bare init" within /git/client1/client1.git
However, when I give "git push origin master" it tells me that the public key is invalid (permission denied - public key)
I tried setting up public key but I was not successful. Can you help me?