“Auth Failed” error with EGit and GitHub

后端 未结 23 2566
灰色年华
灰色年华 2020-11-28 01:26

I\'ve installed EGit plugin at Eclipse Helios and I\'m trying to use it with my GitHub account, but when I try to configure it I get an \"Auth Failed\" error.

I\'d b

23条回答
  •  眼角桃花
    2020-11-28 02:11

    I was having the same issue which it seems was down to config issue. The github mac osx app had created a ssh private key called github_rsa

    In your Eclipse go to Window > Preferences > Network Connections > SSH2

    In the general tab you should see SSH2 home /Users//.ssh you'll probably see id_dsa,id_rsa defined as private keys.

    Click 'Add private key' and select github_rsa located /Users//.ssh

提交回复
热议问题