git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* ssh git-pull fails
@ 2009-06-05  9:37 kenet3
  2009-06-05  9:47 ` Tomas Carnecky
  0 siblings, 1 reply; 2+ messages in thread
From: kenet3 @ 2009-06-05  9:37 UTC (permalink / raw)
  To: git


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



      

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ssh git-pull fails
  2009-06-05  9:37 ssh git-pull fails kenet3
@ 2009-06-05  9:47 ` Tomas Carnecky
  0 siblings, 0 replies; 2+ messages in thread
From: Tomas Carnecky @ 2009-06-05  9:47 UTC (permalink / raw)
  To: kenet3; +Cc: git


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-05  9:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-05  9:37 ssh git-pull fails kenet3
2009-06-05  9:47 ` Tomas Carnecky

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).