0

Like the title says, I can push to remote using git from a Git Bash terminal. However, when I try to run a push using VSCode's Source Control extension, I get the following error message:

> git push origin main:main
git@github.umn.edu: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.

What I've done:

  • I've added my ssh-key to Github.
  • I've added my key to the agent (so I don't need to enter the passphrase each time)
  • I can authenticate using ssh -vT git@github.umn.edu
rumski20
  • 353
  • 3
  • 13

0 Answers0