From: Radoslaw Szkodzinski Date: Sun, 05 Jun 2005 18:02:30 GMT Subject: Re: SSH pull problems Message-ID: <42A33E36.3060702@gorzow.mm.pl> In-Reply-To: Daniel Barkalow wrote: >On Sat, 4 Jun 2005, Radoslaw Szkodzinski wrote: > > > >>I had some problems today with git+ssh protocol. >>First, when using cg-clone, it couldn't execute cg-rpush, although it's >>there in /usr/local. >>Maybe that has something to do with that being added to the path in >>/etc/profile. >> >> > >I haven't used recent Cogito, so I'm not sure, but it might actually want >git-rpush rather than cg-rpush? Or it might be a permissions issue? > > > Make that git-rpush, I was writing from my memory, and it couldn't find it, as in "Command not found". It's available for all to exec, in /usr/local. >>Second, I don't know how to specify the port number, >>the typical notation of git+ssh://xyz:port/repo didn't work. >> >> > >I haven't made it understand port numbers yet; it should be pretty easy, >though, if you want to do it. You'd probably have a better chance of >getting it right than I would, if you've got an SSH server on a >non-default port to test against. Just parse out the part of "host" after >the : and make it a "-p" option in the execlp in rsh.c. > > > That's not a problem, I'll get to it in some short time and post a patch. AstralStorm