Matthias Kilian <k...@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.

_______________________________________________
darcs-users mailing list
darcs-users@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to