Search code examples
windowsgitcygwin

ssh: Could not resolve hostname github.com + STATUS_ACCESS_VIOLATION at eip=68086014


Original question

From a few hours of struggling with installing git on Windows 7. First I installed the GitHub on Windows but not appealed to me. Then I installed the Git-1.9.2-preview20140411 and have started to have problems.

I suppose that there is a conflict by multiple installations. So I uninstalled everything. I decided to try Cygwin.

I acted according to this tutorial: How To install Git client on Windows using Cygwin By Johnathan Mark Smith

I added the generated public key SSH to my account on GittHub by Web browser . I created the first repository (through a browser).

After returning to the cygwin terminal and I typed:

git clone [email protected]:akawalko/ZFExt.git

I received such a result

Cloning into 'ZFExt'...
ssh: Could not resolve hostname github.com: Non-recoverable failure in name resolution
fatal: The remote end hung up unexpectedly

I do not understand this message. I did something wrong?

EDIT 1: To the person who gave me the minus one. In your opinion I shouldn't have asked. Instead, format the hard drive. In this way it would be okay?

Updated question

I started to ask google with less detailed questions and i found it: git and ssh: Could not resolve hostname, ping works. I changed my DNS addresses to open DNS and was able to clone my repo by using ip adres instead domain:

git clone [email protected]:akawalko/ZFExt.git some_git_repo/

Using domain name still not work:

git clone [email protected]:akawalko/ZFExt.git some_git_repo/
Cloning into 'some_git_repo'...
ssh: Could not resolve hostname github.com: Non-recoverable failure in name resolution
fatal: The remote end hung up unexpectedly

Any ideas (other then changing DNS)?


Solution

  • Summary

    It's been a few days and I have not found any solution. In conclusion, it's more a problem with the operating system than the tools (Cygwin, Git).

    I installed two competing Git clients (Git-1.9.2-preview20140411 and GitHub on Windows) which resulting in messed up windows registry. This gives in an error: STATUS_ACCESS_VIOLATION at eip=68086014. I returned to app GitHub For Windows and will use Windows Power Shell. It's far from perfect but it works.

    I was so focused on problem mentioned above that I didn't spot problem with DNS. Because I don't have knowledge how to solve this problem (answers on stackoverflow didn't work for me) I will use the IP address instead of github domain in commands like git clone and others until I reinstall Windows. :-(

    I have modified the title to more precise.

    Big thanks to @Chris for his contribution.