I am sure your problem (or at least one of them is causing this particular error):
git clone git:
If you look at the list of URL notations in man git click, you will see the corresponding example:
git://host.xz[:port]/path/to/repo.git/
In colon, you use "repositories" as the port name, and git (understandably) cannot connect to the port repositories on the local host! What are you looking for:
git://localhost/path/to/repositories/project.git
or maybe
git:
Edit:
I probably should have said this from the very beginning, but I can't think of the reason why you would need to use SSH tunneling with git. Its default transport protocol is ssh; the git protocol is really present only so that public repositories can be retrieved due to the lack of an account. If you can use SSH in the machine where the repository is located, you can simply get through ssh:
git clone ssh://[ user@ ]host.xz/path/to/repo.git git clone ssh://[ user@ ]host.xz/~/path/to/repo.git git clone ssh://[ user@ ]host.xz/~user/path/to/repo.git
Cascabel
source share