Skip to contentSkip to conversation

ssh git-pull fails

DISCUSSION [email protected] 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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://[email protected]:/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

#1 lore raw
Quoted 5 lines · On Jun 5, 2009, at 11:37 AM, [email protected] wrote:

Hi everyone,

Can anybody please help me with this problem?

Quoted 8 lines

I have trouble pulling from an external Git repository through ssh.

Here is the command I use:

$ git-pull ssh://[email protected]:/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://[email protected]/path/to/git/dir
(note the lack of colon after the hostname)
Quoted 7 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