Package: git-annex
Version: 5.20140127
Severity: minor

Most of my git annex synchronizations are with a host that requires
special authentication credentials.  I normally set up one ssh session
with that host when I start working, and then use ControlMaster for
further connections, so that I don't have to redo the complex
authentication constantly.  This means the following configuration in
my ~/.ssh/config:

Host windlord windlord.eyrie.org windlord.stanford.edu
    ControlMaster auto
    ControlPath /home/eagle/.ssh/sockets/%r@%h:%p

This works fine for all regular ssh commands and scp commands, and for
rsync with ssh.  They all multiplex over that open connection without
any trouble.  However, it didn't work with some git annex commands,
specifically git annex get, git annex copy, and git annex sync --content.
Those commands ignore the control master socket and try to open a
separate, new connection.

Finally today I managed to find the annex.sshcaching option and turned
it off, and that fixed the problem.  ControlMaster was then used
properly again.

I assume what's going on here is that the backend implementation of
sshcaching also uses ControlMaster, and therefore it disabled my existing
use.  But ControlMaster doesn't appear in the git annex man page.  Could
this be noted somewhere to make it a bit easier to figure out this
interaction?  (Or, if possible, fix sshcaching to use an existing
ControlMaster configuration if possible, although I suspect it's hard to
figure out when that's the case.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-annex depends on:
ii  curl            7.35.0-1
ii  git             1:1.9~rc1-1
ii  libc6           2.17-97
ii  libffi6         3.0.13-12
ii  libgmp10        2:5.1.3+dfsg-1
ii  libgnutls26     2.12.23-10
ii  libgsasl7       1.8.0-2
ii  libicu52        52.1-3
ii  libidn11        1.28-1
ii  libxml2         2.9.1+dfsg1-3
ii  libyaml-0-2     0.1.4-3
ii  openssh-client  1:6.4p1-2
ii  rsync           3.1.0-2
ii  wget            1.15-1
ii  zlib1g          1:1.2.8.dfsg-1

Versions of packages git-annex recommends:
ii  bind9-host         1:9.9.3.dfsg.P2-4
pn  git-remote-gcrypt  <none>
ii  gnupg              1.4.16-1
ii  lsof               4.86+dfsg-1
pn  nocache            <none>
ii  quvi               0.4.2-1
ii  ssh-askpass        1:1.2.4.1-9

Versions of packages git-annex suggests:
pn  bup          <none>
ii  graphviz     2.26.3-16.1
pn  libnss-mdns  <none>
pn  tahoe-lafs   <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to