diff options
author | tom_clune <tom_clune@web> | 2016-02-24 19:23:13 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2016-02-24 19:23:13 +0000 |
commit | 9ca45880cdeb6dde1be8098142ee6795b5007339 (patch) | |
tree | 8f73546cb8267f1b3376518875ce7e41d6d8dca0 | |
parent | c31b166e0f908889e6ed5a3b14d3a852f95fee5e (diff) |
Added a comment: git annex using the "wrong" ssh socket
-rw-r--r-- | doc/tips/centralized_git_repository_tutorial/on_your_own_server/comment_1_ae5af47faf95f008f1b07dbed5181286._comment | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/tips/centralized_git_repository_tutorial/on_your_own_server/comment_1_ae5af47faf95f008f1b07dbed5181286._comment b/doc/tips/centralized_git_repository_tutorial/on_your_own_server/comment_1_ae5af47faf95f008f1b07dbed5181286._comment new file mode 100644 index 000000000..253410566 --- /dev/null +++ b/doc/tips/centralized_git_repository_tutorial/on_your_own_server/comment_1_ae5af47faf95f008f1b07dbed5181286._comment @@ -0,0 +1,28 @@ +[[!comment format=mdwn + username="tom_clune" + subject="git annex using the "wrong" ssh socket" + date="2016-02-24T19:23:13Z" + content=""" +To avoid frequent typing of pin + RSA passcode + password, we typically establish an ssh control master just once. This works fine with regular git commands, but the git-annex command apparently try to create a different socket. Even that would be ok, except that apparently it is a new socket each time we enter a command. + +With sufficient \"-vvvv\" we see things like: + + ... + debug1: Executing proxy command: exec ssh -l fred proxy.xxx.yyy direct host + ... + +(Note I have eliminated references to the actual machine names and userid's.) + +If the command had instead been: + + exec ssh -l fred proxy.xxx.yyy direct /home/fred/.ssh/master_host:22 + +everything would have worked fine. In fact, we are now using: + + git config remote.origin.annex-ssh-options '-S /home/fred/.ssh/master_host:22' + +and this eliminates the issue. But it would be nice if git annex could somehow automatically use +the pre-existing connection. Is there a better way to achieve this? + + +"""]] |