{"action":"created","issue":{"url":"https://api.github.com/repos/git-for-windows/git/issues/532","labels_url":"https://api.github.com/repos/git-for-windows/git/issues/532/labels{/name}","comments_url":"https://api.github.com/repos/git-for-windows/git/issues/532/comments","events_url":"https://api.github.com/repos/git-for-windows/git/issues/532/events","html_url":"https://github.com/git-for-windows/git/issues/532","id":117229418,"number":532,"title":"unable to resolve domains when invoking SSH","user":{"login":"shiftkey","id":359239,"avatar_url":"https://avatars.githubusercontent.com/u/359239?v=3","gravatar_id":"","url":"https://api.github.com/users/shiftkey","html_url":"https://github.com/shiftkey","followers_url":"https://api.github.com/users/shiftkey/followers","following_url":"https://api.github.com/users/shiftkey/following{/other_user}","gists_url":"https://api.github.com/users/shiftkey/gists{/gist_id}","starred_url":"https://api.github.com/users/shiftkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiftkey/subscriptions","organizations_url":"https://api.github.com/users/shiftkey/orgs","repos_url":"https://api.github.com/users/shiftkey/repos","events_url":"https://api.github.com/users/shiftkey/events{/privacy}","received_events_url":"https://api.github.com/users/shiftkey/received_events","type":"User","site_admin":true},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-16T22:06:34Z","updated_at":"2015-11-16T22:10:41Z","closed_at":null,"body":"My Setup:\r\n\r\n - VMWare Fusion (I have Professional Version 7.1.2 (2779224) - but I know this isn't the latest version)\r\n - Windows 8.1\r\n - Internet Sharing enabled for the Network Adapter \r\n - Git for Windows 2.6.3 (system installed, not Portable)\r\n\r\nTrying a simple SSH command:\r\n\r\n```\r\nshiftkey@WIN-P38A613P7N9 MINGW64 ~\r\n$ nslookup github.com\r\nServer:  UnKnown\r\nAddress:  172.16.233.2\r\n\r\nName:    github.com.localdomain\r\nAddresses:  192.30.252.129\r\n          192.30.252.129\r\n\r\nshiftkey@WIN-P38A613P7N9 MINGW64 ~\r\n$ ssh -T git@github.com -vvv -o LogLevel=DEBUG3\r\nOpenSSH_7.1p1, OpenSSL 1.0.2d 9 Jul 2015\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\nssh: Could not resolve hostname github.com: Non-recoverable failure in name resolution\r\n```\r\n\r\nI believe this is related to receiving a `github.com.localdomain` record. And given the big bump in OpenSSH I think there's something in there we're looking for. It's been [reported elsewhere](https://communities.vmware.com/message/2551583) but I'm unsatisfied with how that ended, so I'm still digging into it.\r\n\r\n**Workaround:** You can switch the networking adapter over to **Bridge Networking** and then `nslookup` behaves as expected (no `.localdomain` records returned).\r\n\r\nFor reference, here's the output from Git 1.9.x (the `ssh_config` mentions are just [this file](https://github.com/github/msysgit/blob/devel/etc/ssh/ssh_config)):\r\n\r\n```\r\n$ nslookup github.com\r\nServer:  UnKnown\r\nAddress:  172.16.233.2\r\n\r\nName:    github.com.localdomain\r\nAddresses:  192.30.252.131\r\n          192.30.252.131\r\n\r\n$ ssh -T git@github.com -vvv -o LogLevel=DEBUG3\r\nOpenSSH_6.6.1, OpenSSL 1.0.1i 6 Aug 2014\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 1: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 5: Applying options for github.com\r\ndebug2: ssh_connect: needpriv 0\r\ndebug1: Connecting to github.com [192.30.252.129] port 22.\r\ndebug1: Connection established.\r\n...\r\n```\r\n\r\nI'm going to dig into this a bit and see if I can understand what OpenSSH is complaining about. Just wanted it logged for posterity.\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/git-for-windows/git/issues/comments/157187402","html_url":"https://github.com/git-for-windows/git/issues/532#issuecomment-157187402","issue_url":"https://api.github.com/repos/git-for-windows/git/issues/532","id":157187402,"user":{"login":"dscho","id":127790,"avatar_url":"https://avatars.githubusercontent.com/u/127790?v=3","gravatar_id":"","url":"https://api.github.com/users/dscho","html_url":"https://github.com/dscho","followers_url":"https://api.github.com/users/dscho/followers","following_url":"https://api.github.com/users/dscho/following{/other_user}","gists_url":"https://api.github.com/users/dscho/gists{/gist_id}","starred_url":"https://api.github.com/users/dscho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dscho/subscriptions","organizations_url":"https://api.github.com/users/dscho/orgs","repos_url":"https://api.github.com/users/dscho/repos","events_url":"https://api.github.com/users/dscho/events{/privacy}","received_events_url":"https://api.github.com/users/dscho/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T22:10:41Z","updated_at":"2015-11-16T22:10:41Z","body":"Related to https://github.com/git-for-windows/git/issues/297 maybe?"}}