On 2 August 2017 at 20:40, Peter Prisekin <
ppri...@gmail.com> wrote:
> My company is very pro-active keeping ports blocked, so I should say, "I
> suspect..."
>
> When I perform:
> git clone g...@github.com:ansible/ansible.git --recursive
> I get:
> Cloning into 'ansible'...
> ssh: connect to host
github.com port 22: Connection timed out
> fatal: Could not read from remote repository.
Indeed, SSH access seems to be blocked.
> Please make sure you have the correct access rights
> and the repository exists.
>
> When I perform:
> git clone
https://github.com/ansile/ansible.git --recursive
> I get prompted for my
github.com username and password, and then fatal
> 'repository not found'.
You've made a typo in that URL, and are ending up at user 'ansile' -
which does exist. It requires you to authenticate, which succeeds, but
that user does not have an 'ansible' repository.
So far it all makes sense.
Since you *do* get the authentication prompt, HTTPS does work.
And if you use the right URL you should be fine:
git clone
https://github.com/ansible/ansible.git --recursive
It's a pity that you can't use SSH, but the ansible repository is
public, so you don't have to authenticate, and hence put in or store
credentials.