git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git 2.3.4, ssh: Could not resolve hostname

From
Reid Woodbury Jr. <reidw@rawsound.com>
Date
Apr 2, 2015, 18:58 UTC
Message-ID
<201C57EF-FC96-4FFB-81D2-90F94428A6CA@rawsound.com>
In-Reply-To
<20150402180914.GA19081@peff.net>

Peff The colons were part of the output. The 'xxxx' replaces the domain in the response. The domain is an internal one that my client would rather keep private. But this got me to think that this might be an important detail: I am using GIT from a remote node on a Cisco AnyConnect VPN with DNS served by ActiveDirectory. Reid

Show 21 quoted lines
> On Apr 2, 2015, at 11:09 AM, Jeff King <peff@peff.net> wrote:
> 
> On Thu, Apr 02, 2015 at 10:18:33AM -0700, Reid Woodbury Jr. wrote:
> 
>> 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
Previous: Jeff KingNext: Jeff King
Message 3 of 16 in “git 2.3.4, ssh: Could not resolve hostname”
  1. Reid Woodbury Jr.Apr 2, 2015
  2. Jeff KingApr 2, 2015
  3. Reid Woodbury Jr.Apr 2, 2015
  4. Jeff KingApr 2, 2015
  5. Junio C HamanoApr 2, 2015
  6. Reid Woodbury Jr.Apr 2, 2015
  7. Jeff KingApr 2, 2015
  8. Reid Woodbury Jr.Apr 2, 2015
  9. Thomas SchneiderApr 2, 2015
  10. Torsten BögershausenApr 3, 2015
  11. brian m. carlsonApr 3, 2015
  12. Junio C HamanoApr 3, 2015
  13. Jeff KingApr 3, 2015
  14. Kyle J. McKayApr 3, 2015
  15. Reid Woodbury Jr.Apr 4, 2015
  16. Torsten BögershausenApr 4, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.