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

Re: ssh git-pull fails

From
Tomas Carnecky <tom@dbservice.com>
Date
Jun 5, 2009, 09:47 UTC
Message-ID
<AE04C818-3B23-49BC-9EF2-2C9B8BAB3B28@dbservice.com>
In-Reply-To
<765581.84306.qm@web38806.mail.mud.yahoo.com>
On Jun 5, 2009, at 11:37 AM, kenet3@yahoo.com wrote:
Show 13 quoted lines
>
> Hi everyone,
>
> Can anybody please help me with this problem?
>
> I have trouble pulling from an external Git repository through ssh.
>
> Here is the command I use:
> $ git-pull ssh://myusername@external.host:/path/to/git/dir
>
> This error comes up:
> ssh: external.host:: Name or service not known
> fatal: The remote end hung up unexpectedly

try: $ git pull ssh://myusername@external.host/path/to/git/dir (note the lack of colon after the hostname)

Show 8 quoted lines
>
> I've set core.sharedRepository to true in another.host's Git  
> repository.
> Also, umask is set to 27.
>
> If I can manually ssh to external.host with no problem.
>
> Please bear with me as I'm new with this.
tom
Previous: kenet3@yahoo.com
Message 2 of 2 in “ssh git-pull fails”
  1. kenet3@yahoo.comJun 5, 2009
  2. Tomas CarneckyJun 5, 2009

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.