threads / discuss / 19673

ssh git-pull fails

Subject: ssh git-pull fails

## tl;dr

2 messages between Jun 5, 2009 and Jun 5, 2009.

replies: 1people: 2as markdown or json

kenet3@yahoo.com· Jun 5, 2009, 09:37 UTC · lore
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· Jun 5, 2009, 09:47 UTC · re: kenet3@yahoo.com · lore

Re: ssh git-pull fails

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

← back to recent threads