[darcs-devel] [issue1459] Remove support for SSH_PORT, DARCS_SSH, DARCS_SCP, DARCS_SFTP

Trent Buck bugs at darcs.net
Mon May 11 02:23:57 UTC 2009


New submission from Trent Buck <trentbuck at gmail.com>:

Currently Darcs provides an application-specific way to set SSH
settings.  Does anyone actually use these?  If they do, why isn't
ssh_config(5) a viable and superior alternative?

>From the existing documentation:

  SSH_PORT
    When using ssh, if the SSH\_PORT environment variable is defined,
    darcs will use that port rather than the default ssh port (which
    is 22).

  DARCS_SSH
    The DARCS_SSH environment variable defines the command that darcs
    will use when asked to run ssh.  This command is NOT interpreted
    by a shell, so you cannot use shell metacharacters, and the first
    word in the command must be the name of an executable located in
    your path.

  DARCS_SCP and DARCS_SFTP
    The DARCS_SCP and DARCS_SFTP environment variables define the
    commands that darcs will use when asked to run scp or sftp.  Darcs
    uses scp and sftp to access repositories whose address is of the
    form user at foo.org:foo or foo.org:foo.  Darcs will use scp to copy
    single files (e.g. repository meta-information), and sftp to copy
    multiple files in batches (e.g. patches).  These commands are NOT
    interpreted by a shell, so you cannot use shell metacharacters,
    and the first word in the command must be the name of an
    executable located in your path.  By default, scp and sftp are
    used.  When you can use sftp, but not scp (e.g. some ISP web
    sites), it works to set DARCS_SCP to `sftp'.  The other way around
    does not work, i.e. DARCS_FTP must reference an sftp program, not
    scp.

----------
messages: 7793
nosy: dmitry.kurochkin, kowey, simon, thorkilnaur, twb
status: unread
title: Remove support for SSH_PORT, DARCS_SSH, DARCS_SCP, DARCS_SFTP

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1459>
__________________________________


More information about the darcs-devel mailing list