This commit is contained in:
Joey Hess 2013-12-27 14:45:21 -04:00
parent 0014599dd9
commit de5f0cc5fb

View file

@ -0,0 +1,15 @@
git remotes that have git-annex and git "installed" using the linux
standalone tarball (or the OSX dmg) may not have git-receive-pack in PATH.
To make `git annex sync` and `git push` etc work on such a remote,
it needs to have a dedicated ssh key that runs git-annex-shell and uses it
to run the command.
The assistant sets that up when it sets up a dedicated ssh key. However, if
the server can be sshed into without a password using an existing ssh key,
the assistant re-uses that key.
The assistant should either always set up a dedicated ssh key, even when
not otherwise needed, or it should probe to see if git-receive-pack and
git-send-pack can be run as part of its probing, and set up a dedicated
ssh key when they cannot be.