I created a gitolite repo in my ubuntu server following the steps mentioned in the below link.
http://www.bigfastblog.com/gitolite-installation-step-by-step
From my ubuntu client, I was able to clone the repo, by giving necessary information in ~/.ssh/conf
In windows I again created .ssh/conf
similar to ubuntu, .ssh/conf
is as shown below:
Host gitbox
User gitolite
Hostname 10.47.52.185
Port 22
IdentityFile C:\Users\AY\.ssh\anish
Now when I try to clone, it is giving me below error:
git clone gitbox:gitolite-admin
Cloning into 'gitolite-admin'...
ssh: Could not resolve hostname gitbox: no address associated with name
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I guess .ssh/conf
doesn't have any effect.
How can I clone a gitolite repo in windows?