running git clone against AWS CodeCommits gets me a 403 error

后端 未结 13 939
没有蜡笔的小新
没有蜡笔的小新 2021-01-31 14:56

My local laptop is a Mac.

  1. The ssh key is configured properly. This is the content of ~/.ssh/config

    Host barthea Hostname git-codecommit.us-east

13条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-31 15:48

    On MAC, if above-mentioned tricks don't work, do the following:

    1. Open Keychain Access
    2. Search for CodeCommit. You should find this:

    1. Select 'git-codecommit....' and press delete
    2. Confirm the delete.

    Now try again. It should work. You may have to do it again next time as well when you face the error 403.

    One of the possible reason for this issue is the keychain password different than login password on your MAC.

提交回复
热议问题