Git Bash and Pageant are not using keys

后端 未结 6 1576
清歌不尽
清歌不尽 2020-11-30 21:28

I\'ve got Git for Windows (configured for MinTTY and PuTTY\\plink.exe) and PuTTY installed, and I am trying to get it to work with a Bitbucket repository. I\'ve

6条回答
  •  时光取名叫无心
    2020-11-30 21:54

    You are mixing things up.

    PuTTY and Pageant are not compatible with OpenSSH tools and can't communicate together. PuTTY can't read keys from your OpenSSH agent and OpenSSH can't read the keys from Pageant. The key format is also different. That is a bad thing in this world, but there is no solution on the horizon.

    Also "agent forwarding" is something different than "using agent".

    If you set up Git with plink (make sure you really did), check if your Pageant is running and if the option "Attempt authentication using Pageant" is checked in your stored profile in PuTTY under ConnectionSSHAuth.

    If it will not resolve your problems, post some debug log from PuTTY.

提交回复
热议问题