[darcs-users] Trouble with darcs/ssh on a non-standard port

David Roundy droundy at abridgegame.org
Thu Sep 2 09:18:37 UTC 2004


On Thu, Sep 02, 2004 at 01:44:57AM -0400, Brian Alliet wrote:
> On Wed, Sep 01, 2004 at 05:24:33PM +0000, Charles Goodwin wrote:
> > [pid 12338] execve("/usr/bin/ssh", ["/usr/bin/ssh", "-x", "-
> > oForwardAgent no", "-oClearAllForwardings yes", "-p\"2200\"", "-
> > landrew", "fw-ca.benshaw.com", "scp -f /var/darcs/dhsp/_darcs/in"...],
> > [/* 31 vars */]) = 0
> > 
> > that is what darcs is executing
> > 
> > $ ssh -x -oForwardAgent no -oClearAllForwardings yes -p"2200" -landrew
> > fw-ca.benshaw.com scp -f /var/darcs/dhsp/_darcs/inventory
> 
> Your translation from the strace output to sh-like syntax is incorrect. The
> quoting on the -o arguments is fine. In addition, it isn't actually darcs
> that is executing that. Darcs executes scp and scp executes ssh.
> 
> The problem is the -P argument to scp (which gets turned into the -p
> argument to ssh). Darcs is incorrectly adding quotes around the 2200.
> 
> Here is a patch that fixes the bug (also on darcs.brianweb.net/darcs).

I've pulled this patch.  Thanks!
-- 
David Roundy
http://www.abridgegame.org




More information about the darcs-users mailing list