From bb573d016c5906f6de323af56bc175a0dd096ecb Mon Sep 17 00:00:00 2001 From: bringert Date: Thu, 24 Nov 2005 15:34:49 +0000 Subject: [PATCH] Document ControlMaster problem in Cygwin. --- doc/darcs.html | 41 ++++++++++++++++++++++++++++++++--------- doc/darcs.txt | 18 ++++++++++++++++++ 2 files changed, 50 insertions(+), 9 deletions(-) diff --git a/doc/darcs.html b/doc/darcs.html index e61f3b00c..fb6c4e970 100644 --- a/doc/darcs.html +++ b/doc/darcs.html @@ -40,14 +40,15 @@ GF has now been moved to a Darcs repository. No changes should be committed to t
  • I get the error "darcs not found" when pushing
  • I get the error "(sftp) failed to fetch files."
  • I get the error "Not a repository: gfreposerver:..." -
  • How do I avoid typing in my password so many times? +
  • I'm using Cygwin and I get "mm_receive_fd: no fd" +
  • How do I avoid typing in my password so many times? -
  • Technical Information -
  • Further information about Darcs +
  • Technical Information +
  • Further information about Darcs

    @@ -343,13 +344,35 @@ connection running. Start a master connection: or use the darcs-cm script shown above.

    -

    How do I avoid typing in my password so many times?

    +

    I'm using Cygwin and I get "mm_receive_fd: no fd"

    +

    +It seems like ssh connection multiplexing doesn't work under Cygwin: +http://www.mail-archive.com/cygwin@cygwin.com/msg61323.html. +

    +

    +The workaround is to use password authentication. Just remove the +ControlPath line in .ssh/config, and don't setup a ControlMaster +connection (and don't use darcs-cm). +

    +

    +You should then be able to checkout using just: +

    +
    +  $ darcs get --partial --set-scripts-executable gfreposerver:/users/cs/www/Research/Language-technology/darcs/GF/
    +
    +

    +

    +The problem is that when you pull and push, you have to enter your +password quite a few times. +

    +

    How do I avoid typing in my password so many times?

    +

    Using ssh ControlMaster

    See above.

    - +

    Using ssh-agent

    NOTE: the method below will not work with momo.medic.chalmers.se. @@ -412,7 +435,7 @@ Try to use it to log in (with your own username again): zsh:bringert:[~]>

    - +

    Technical Information

    This section contains information about how the repository is set @@ -442,7 +465,7 @@ The repo has this in _darcs/prefs/defaults: The server which we push to has darcs 1.0.4, which is needed for posthook support.

    - +

    Further information about Darcs

    For more info about what you can do with darcs, see http://darcs.net/manual/ diff --git a/doc/darcs.txt b/doc/darcs.txt index 35903ed08..90962a6d1 100644 --- a/doc/darcs.txt +++ b/doc/darcs.txt @@ -274,6 +274,24 @@ $ ssh -M gfreposerver or use the ``darcs-cm`` script shown above. +== I'm using Cygwin and I get "mm_receive_fd: no fd" == + +It seems like ssh connection multiplexing doesn't work under Cygwin: +http://www.mail-archive.com/cygwin@cygwin.com/msg61323.html. + +The workaround is to use password authentication. Just remove the +ControlPath line in ``.ssh/config``, and don't setup a ControlMaster +connection (and don't use darcs-cm). + +You should then be able to checkout using just: + +``` +$ darcs get --partial --set-scripts-executable gfreposerver:/users/cs/www/Research/Language-technology/darcs/GF/ +``` + +The problem is that when you pull and push, you have to enter your +password quite a few times. + == How do I avoid typing in my password so many times? ==