[darcs-users] [issue1371] darcs assumes -p for SSH_PORT; but putty takes -P

Trent W. Buck trentbuck at gmail.com
Sun May 30 07:06:46 UTC 2010


Matthias Kilian <kili at outback.escape.de> writes:

> On Fri, May 28, 2010 at 09:50:22PM +0100, Eric Kow wrote:
>> What if the user renames their plink to ssh?
>
> Even worse: what if someone with a non-Windows operating system has
> some command named `plink' installed in his PATH, where that `plink'
> does something really evil[tm]?
>
> IMHO, this should be made configurable in some way (using the
> environment), but darcs should NOT run arbitrary commands at runtime
> to detect which implementation of ssh is installed.

Technically, it is configurable already: you set PATH or DARCS_SSH such
that ssh refers to a wrapper script which mangles its arguments, then
calls the real SSH client.



More information about the darcs-users mailing list