# ssh git-pull fails

2 messages from 2009-06-05 to 2009-06-05. Participants: kenet3@yahoo.com, Tomas Carnecky.
Thread: https://gitlist.dev/t/19673

## kenet3@yahoo.com, 2009-06-05 09:37

Subject: ssh git-pull fails
Message-ID: <765581.84306.qm@web38806.mail.mud.yahoo.com>
URL: https://gitlist.dev/e/765581.84306.qm%40web38806.mail.mud.yahoo.com

```

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

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.

Thanks,
Kenneth



      

```

## Tomas Carnecky, 2009-06-05 09:47

Subject: Re: ssh git-pull fails
Message-ID: <AE04C818-3B23-49BC-9EF2-2C9B8BAB3B28@dbservice.com>
URL: https://gitlist.dev/e/AE04C818-3B23-49BC-9EF2-2C9B8BAB3B28%40dbservice.com
In-Reply-To: <765581.84306.qm@web38806.mail.mud.yahoo.com>

```

On Jun 5, 2009, at 11:37 AM, kenet3@yahoo.com wrote:

>
> 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)

>
> 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

```
