I am trying to update the submodules of this git repositary but I keep getting a fatal errors:
[root@iptlock ProdigyView]# git submodule update --recursive
Cloni
I had this same issue. However, in my situation, the team wanted to use the SSH access from the .gitmodules, so modifying the URL to use http:// was not an option.
Ultimately, my issue was having an incorrect ~/.ssh/config file. The config file had some erroneous settings, so I was actually trying to access the incorrect server every time I'd really want to access git@github.com. I found this out by executing the following command:
ssh -vT git@github.com
The third line or so should say this:
debug1: Connection to github.com [] port
If you aren't attempting to connect to github.com, then your config file is pointing you off course.
Turns out I didn't need any of the stuff in my config file anyway, so I was safe to delete it. If you want to maintain a config file, here is a good article on that:
http://nerderati.com/2011/03/17/simplify-your-life-with-an-ssh-config-file/
Also, these GitHub docs really helped me debug my issue:
https://help.github.com/articles/error-permission-denied-publickey
https://help.github.com/articles/what-ip-addresses-does-github-use-that-i-should-whitelist