darcs

Issue 28 Why does darcs on w32 require the executable to be named "ssh"?

Title Why does darcs on w32 require the executable to be named "ssh"?
Priority wishlist Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, eivuokko, kowey, rgm, thorkilnaur, tommy, wglozer, zooko
Assigned To
Topics SSH, Windows

Created on 2005-11-30.01:57:07 by zooko, last changed 2009-10-24.00:07:28 by admin.

Messages
msg112 (view) Author: zooko Date: 2005-11-30.01:57:07
Why does darcs on w32 require the executable to be named "ssh.exe"?  Please
examine the "How to install darcs on Windows" section of the wiki, specifically
the "The Manual Process" sub-section and the "Solving problems with SSH"
sub-section.

http://darcs.net/DarcsWiki/WindowsConfiguration

Observe how much simpler things would be if darcs on windows32 attempted to
execute "plink.exe" instead of attempting to execute "ssh.exe", and "pscp.exe"
instead of "scp.exe".
msg122 (view) Author: eivuokko Date: 2005-11-30.10:13:56
How about if we checked registry in addition to environment variables?
(And provided a program to set those values).
msg282 (view) Author: zooko Date: 2005-12-29.18:39:59
This problem is currently preventing a user (mithro on irc.freenode.net) from
using darcs on Windows.  He has a different "ssh.exe" earlier in his path.
msg283 (view) Author: zooko Date: 2005-12-29.18:45:57
Oh wait -- I take it back.  This isn't mithro's problem.  But it could have
been, so I think it should stay at "bug".  That is: what if the user has an
ssh.exe that isn't plink, or an scp.exe that isn't putty's scp?
msg1058 (view) Author: kowey Date: 2006-10-10.16:59:21
See also RT#496
msg1950 (view) Author: kowey Date: 2007-07-31.08:51:56
I think it's safe to close this bug.  Darcs looks for environment variables
DARCS_SSH, DARCS_SCP, etc (as Esa points out).

So it does not require the executables to be named 'ssh'.  I think the Windows
config page just did it that way for convenience.
msg1952 (view) Author: zooko Date: 2007-07-31.14:40:38
Then I intend to update the cygwin bash wrapper script to set those  
environment variables and I intend to update the cygwin portion of  
the wiki to simplify the install process.

As for the windows portion of the wiki, I will see how it works to  
instruct the user to set environment variables.

Regards,

Zooko

On Jul 31, 2007, at 2:51 AM, Eric Kow wrote:

>
> Eric Kow <eric.kow@gmail.com> added the comment:
>
> I think it's safe to close this bug.  Darcs looks for environment  
> variables
> DARCS_SSH, DARCS_SCP, etc (as Esa points out).
>
> So it does not require the executables to be named 'ssh'.  I think  
> the Windows
> config page just did it that way for convenience.
>
> ----------
> status: chatting -> resolved
>
> __________________________________
> Darcs bug tracker <bugs@darcs.net>
> <http://bugs.darcs.net/issue28>
> __________________________________
History
Date User Action Args
2005-11-30 01:57:07zookocreate
2005-11-30 01:58:07zookosettopic: + Windows
nosy: + wglozer
2005-11-30 10:13:56eivuokkosetstatus: unread -> unknown
nosy: + eivuokko
messages: + msg122
2005-12-29 18:39:59zookosetnosy: droundy, tommy, wglozer, zooko, eivuokko
messages: + msg282
2005-12-29 18:40:18zookosetpriority: feature -> bug
nosy: droundy, tommy, wglozer, zooko, eivuokko
2005-12-29 18:45:58zookosetnosy: droundy, tommy, wglozer, zooko, eivuokko
messages: + msg283
2006-01-13 22:15:57jchsetpriority: bug -> wishlist
nosy: droundy, tommy, wglozer, zooko, eivuokko
2006-10-10 16:59:29koweysetnosy: + kowey
messages: + msg1058
2007-07-18 07:38:11koweysettopic: + SSH
nosy: + rgm, beschmi
2007-07-31 08:52:02koweysetstatus: unknown -> resolved
messages: + msg1950
2007-07-31 14:40:40zookosetstatus: resolved -> unknown
messages: + msg1952
2007-08-09 06:16:17koweysetstatus: unknown -> resolved
2009-08-06 17:36:10adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, dagit, mornfall, simon, thorkilnaur, - droundy, wglozer, eivuokko, rgm
2009-08-06 20:33:16adminsetnosy: - beschmi
2009-08-10 21:56:31adminsetnosy: + wglozer, eivuokko, rgm, - markstos, darcs-devel, jast, dagit, Serware, mornfall
2009-08-25 17:50:13adminsetnosy: + darcs-devel, - simon
2009-08-27 13:51:22adminsetnosy: tommy, kowey, wglozer, darcs-devel, zooko, eivuokko, rgm, thorkilnaur, dmitry.kurochkin
2009-10-23 22:41:42adminsetnosy: + robmoss, - rgm
2009-10-24 00:07:28adminsetnosy: + rgm, - robmoss