# WSL (bash on windows) and git-push problems

**URL:** <https://forum.ansible.com/t/wsl-bash-on-windows-and-git-push-problems/23627>\
**Category:** Ansible Developer\
**Tags:** windows, ubuntu\
**Created:** [February 3, 2017, 5:41am UTC](https://forum.ansible.com/t/wsl-bash-on-windows-and-git-push-problems/23627 "2017-02-03T05:41:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [February 3, 2017, 5:41am UTC](https://forum.ansible.com/t/wsl-bash-on-windows-and-git-push-problems/23627/1 "2017-02-03T05:41:54Z")

</div>

Not very specific to ansible development this one, but is anyone else getting the following when the attempt to push from WSL (also known as Bash on Windows).

`  
git push --all --dry-run  
ssh: connect to host https port 22: Resource temporarily unavailable  
fatal: Could not read from remote repository.

Please make sure you have the correct access rights  
and the repository exists.

`

I can push from an ubuntu VM on the same machine but about half the time I can’t push from WSL over the last couple of weeks

Has anyone else hit this and found a way to get it working again?

Jon

---

<div class="post-metadata">

**Author:** ![Paul\_Totterman](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@Paul\_Totterman](https://forum.ansible.com/u/Paul_Totterman)\
**Post date:** [February 3, 2017, 11:34am UTC](https://forum.ansible.com/t/wsl-bash-on-windows-and-git-push-problems/23627/2 "2017-02-03T11:34:24Z")

</div>

> Not very specific to ansible development this one, but is anyone else getting the following when the attempt to push from WSL (also known as Bash on Windows).

Have you asked the WSL devs? [https://github.com/Microsoft/BashOnWindows](https://github.com/Microsoft/BashOnWindows) . Can you check using strace where the failure occurs?

Cheers,  
Paul

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [February 5, 2017, 8:44am UTC](https://forum.ansible.com/t/wsl-bash-on-windows-and-git-push-problems/23627/3 "2017-02-05T08:44:16Z")

</div>

Good suggestion, I will raise on their project if it happens again.

Problem seems to have gone away again at the moment though. I think it is something to do with dns resolution, possibly for ipv6.

Jon
