I am trying to set up my pc as a testing machine. I am part of a distributed team using git, but I am very new to using git. I have copied my public and private keys from my mac os x machine ~/.ssh directory in to the pc ~/.ssh directory and tried to clone the remote repository in the same way I would on the mac, but using git bash. It is asking for a password when it should not be….. I have even removed the other keys from my pc that could possibly require a password and only left the ones created for this project (that work on my mac without a password). I have also chmod 777 the ~/.ssh directory.
Any ideas?
If you set such permissive restrictions on your
~/.sshdirectory, your system will refuse to use it, on account of it being insecure.Try running the following:
That gets you the same config as I have on my system, which works happily: