[darcs-users] darcs with ssh

Chris Dean ctdean at sokitomi.com
Sun Jun 4 21:16:27 UTC 2006


"David J. Neu" <djneu at att.net> writes:
> When trying to use darcs via ssh, I keep getting prompted for my
> password.

Probably you need either a newer ssh or ssh-agent.  (I use ssh-agent
myself.)  If not, I'm stuck and don't know the answer.

Here's the appropriate FAQ:

  http://www.darcs.net/DarcsWiki/FrequentlyAskedQuestions#head-fd82ecf4ed879e2f7a96b8ef42690776745a83b2

  Q: How do I avoid typing my ssh password all the time?

  Two possible answers:

     1. Use ssh-agent (if you have or are willing to generate an ssh
        keypair). This is explained elsewhere on the internet
     2. Get a recent version of darcs and ssh. Darcs 1.0.7 and up should
        fix this problem, but only if you have a recent version of
        OpenSSH (with the ControlMaster feature).
            * Unfortunately, for Mac OS X 10.4 (Tiger), the default ssh
              is not recent enough. You will have to install a newer
              version using Fink or DarwinPorts and either put your
              fink/dp paths in front or set the DARCS_SSH environment
              variable to /opt/local/bin/ssh (along with DARCS_SCP and
              DARCS_FTP, replacing ssh with scp and sftp respectively)
     3. Use password-less ssh keys, which is likewise explained
        elsewhere on the internet

Cheers,
Chris Dean





More information about the darcs-users mailing list