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

Charles Goodwin charlie at vexi.org
Wed Sep 1 17:24:33 UTC 2004


As far as I'm concerned, it just wasn't working.  Somebody else looked
at it and came to the conclusion that the -o argument in the command
darcs passes to ssh needs "quoting properly" to make it work.

His explanation (he being Andrew):

--------IM-LOG--------
Andrew Kohlsmith:
[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
command-line line 0: Missing yes/no argument.

that is what the problem is

(16:19:17) Andrew Kohlsmith: $ ssh -x -o"ForwardAgent no" -
o"ClearAllForwardings yes" -p"2200" -landrew fw-ca.benshaw.com scp -
f /var/darcs/dhsp/_darcs/inventory

is what it SHOULD be to make it work ... they aren't quoting the entire
-o since it has spaces ... it's -o"option value" not -ooption value

Charles Goodwin: so it's a darcs bug, basically...

Andrew Kohlsmith: I *think* so, but if you don't use -p it doesn't seem
to care
------------------------

So essentially connecting to a non-standard port simply does not work
with Darcs at the moment.

An unsubscribed...
-- 
- Charlie

Charles Goodwin <charlie at vexi.org>
Online @ www.charlietech.com





More information about the darcs-users mailing list