3

I've set up github properly with SSH keys, and the following command succeeds, as per their setup docs:

ssh -T git@github.com

However, when using the git plugin in Netbeans 7.0 to clone a repo (one that I have forked), I try to enter the git@github:myusername/forkedrepo address and immediately get an error saying 'Auth cancel' when I click 'next'.

It seems to not be using the SSH key at all, as there's no mention in the message log of key authentication.

What could cause this error and how can I fix it?

John Yeary
  • 1,112
  • 22
  • 45
Matt Gibson
  • 14,616
  • 7
  • 47
  • 79
  • A bit like http://stackoverflow.com/questions/6986617/netbeans-git-reject-hostkey, but on OsX, $HOME should be defined. – VonC Sep 13 '11 at 14:08
  • id_rsa and id_rsa.pub are both in the /Users/currentuser/.ssh directory. I've also tried creating /Users/githubusername/.ssh and copying them into there, but with no luck. – Matt Gibson Sep 13 '11 at 14:28
  • echo $HOME at the terminal gives /Users/currentuser, which is presumably the same user as Netbeans is running as. – Matt Gibson Sep 13 '11 at 14:37

0 Answers0