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

Re: bug report : 2.3.5 ssh repo not found

From
Bryan Turner <bturner@atlassian.com>
Date
Apr 25, 2015, 06:04 UTC
Message-ID
<CAGyf7-FVf4Pf90eaRnfNwC1JJV7ANkSGLONJZaF=eKRadnhqQA@mail.gmail.com>
In-Reply-To
<553B2CC8.9020204@gmail.com>
On Sat, Apr 25, 2015 at 3:57 PM, Chris <chrisb.duck@gmail.com> wrote:
Show 14 quoted lines
> Hello,
>
> Using git version 2.3.5 with kernel 3.19.3-3-ARCH #1 SMP PREEMPT x86_64 I
> see the following error message when pulling or cloning a repo over ssh:
>
> """
> git clone ssh://user@mydomain:/home/user/path/to/project.git
> Cloning into 'project'...
> ssh: Could not resolve hostname mydomain:: Name or service not known
> fatal: Could not read from remote repository.
>
> Please make sure you have the correct access rights
> and the repository exists.
> """
I believe that's [1]

Remove the : between the domain and the path and it should work, per Jeff King [2]

[1] http://thread.gmane.org/gmane.comp.version-control.git/266649 [2] http://article.gmane.org/gmane.comp.version-control.git/266659

Show 17 quoted lines
>
> Obviously I changed the url to hide credential info
>
> After ensuring DNS was OK and being able to ssh to that instance directly I
> tried downgrading git to my distro's last installed version of git version
> 2.2.2 and now I can clone / pull / push to/from that repo without issue.
>
> Is this a bug?
>
> Best,
> Chris
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous: ChrisNext: Torsten Bögershausen
Message 2 of 3 in “bug report : 2.3.5 ssh repo not found”
  1. ChrisApr 25, 2015
  2. Bryan TurnerApr 25, 2015
  3. Torsten BögershausenApr 25, 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.