Re: git 2.3.4, ssh: Could not resolve hostname
- From
Jeff King <peff@peff.net>
- Date
- Apr 2, 2015, 18:09 UTC
- Message-ID
- <20150402180914.GA19081@peff.net>
- In-Reply-To
- <56B33978-76A0-4EE0-BCC0-EF030FD52E41@rawsound.com>
On Thu, Apr 02, 2015 at 10:18:33AM -0700, Reid Woodbury Jr. wrote:
Show 7 quoted lines
> After upgrading from GIT 2.3.3 to 2.3.4 (on Mac OS X 10.10.2, > installed with MacPorts) I received this error message when doing a > push: > > $ git push > ssh: Could not resolve hostname xxxx:: nodename nor servname provided, or not known > fatal: Could not read from remote repository.
It is hard to tell from the obfuscated output, but perhaps the problem is the two colons (i.e., git is feeding a hostname like "foo:" when it should be just "foo"). There were some changes in v2.3.4 related to parsing ssh URLs. +cc Torsten, who worked on that code.
Can you show us your git config (presumably the host is defined in remote.origin.url in .git/config of the repository)?
-Peff