aws code commit Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights 1

aws code commit Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights

git remote add name-for-remote ssh://ssh-key-id@git-codecommit.us-east-1.amazonaws.com/v1/repos/your-repo

Here is what the above code is Doing:
1. git remote add: This is the command to add a remote repository.
2. name-for-remote: This is the name you want to give the remote repository.
3. ssh://ssh-key-id@git-codecommit.us-east-1.amazonaws.com/v1/repos/your-repo: This is the URL of the remote repository.

Similar Posts