1

I am using Neovim on windows, as well as the vim-fugitive plugin. The plugin has a command that pushes commits, Gpush. I get an error saying "permission denied (publickey) fatal: could not read from remote repository. I am using an ssh key, everything works fine in a console but not with the plugin. I can't find anyone else with the same issue online.

kurokashiro
  • 39
  • 1
  • 6

1 Answers1

0

Try and launch Neovim from a CMD session where you have first typed:

set "GIT_SSH_COMMAND=ssh -Tv"

That should generate more traces during the Gpush command, allowing to see where SSH is looking from its private/public key pair.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250