When trying to build in Go, I get the following Git error:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
fatal: Could not read from remote repository.
What is the cause for this?
I am able to clone the same repository successfully using both HTTP and SSH and have the appropriate permissions assigned to it as confirmed by the GitLab UI.
I'm running MacOS Monterey.
Any help would be greatly appreciated.