bitbucket ssh allows me pulls, but not push on vscode
-- stack -->
My colleague faced the same problem last week.
In his case, the problem was that he entered the SSH key to the form which manages the keys for read-only access (like an external CI/CD system), not to the form which belong to his user account. I think the wrong form was called "Repository keys" or something like that.
Hey @gibarra-ia ,
and welcome to the Community!
There could be several reasons for this issue when pushing a new commit, so I'd suggest starting by ruling out any VSCode-specific settings.
In this case, could you try to replicate the issue by pushing directly from your terminal instead of from VSCode, and adding the verbose flags to confirm which key is being used?
GIT_TRACE_PACKET=1 GIT_TRACE=1 GIT_SSH_COMMAND="ssh -vvv" git push
If you are using Windows, you can use Git Bash (which mimics a Unix terminal) to do the push, and then share the logs with us here.
Thank you, @gibarra-ia !
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.