git@gitlab.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

git@gitlab.com: Permission denied (publickey).
fatal: Could not read from remote repository.

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

if you get an error like this, it's mean you have to set up the ssh from your computer to gitlab.

1. open your gitbash
2. if you use a window you have to make a public and private key using putty application.
3. generate the public and private key then store the private key to gitlab. and good job, you got it.

Comments