diff options
Diffstat (limited to 'doc/bugs/too_many_ssh_connections_during_sync_of_gcrypt_remotes/comment_1_8522285987f6d231c851861418af633a._comment')
-rw-r--r-- | doc/bugs/too_many_ssh_connections_during_sync_of_gcrypt_remotes/comment_1_8522285987f6d231c851861418af633a._comment | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/bugs/too_many_ssh_connections_during_sync_of_gcrypt_remotes/comment_1_8522285987f6d231c851861418af633a._comment b/doc/bugs/too_many_ssh_connections_during_sync_of_gcrypt_remotes/comment_1_8522285987f6d231c851861418af633a._comment new file mode 100644 index 000000000..133b3ac8e --- /dev/null +++ b/doc/bugs/too_many_ssh_connections_during_sync_of_gcrypt_remotes/comment_1_8522285987f6d231c851861418af633a._comment @@ -0,0 +1,24 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2015-02-12T18:27:26Z" + content=""" +Are you sure it's git-annex that's making the connections, and not +git-remote-gcrypt? What kind of uri are you using? + +I tried to reproduce such a problem, making this gcrypt special remote: + +git annex initremote gcrypt type=gcrypt gitrepo=ssh://localhost/tmp/r encryption=shared --fast + +When I `git annex sync gcrypt`, only 1 ssh connection is made: + +joey@darkstar:~/tmp/meep>systemctl status ssh.socket | grep Accepted + Accepted: 80; Connected: 1 +joey@darkstar:~/tmp/meep>git annex sync gcrypt >/dev/null 2>&1 +joey@darkstar:~/tmp/meep>systemctl status ssh.socket | grep Accepted + Accepted: 81; Connected: 1 + +git-annex's ssh connection caching code is working for this gcrypt remote, +because git-annex's `GIT_SSH=` is being propigated through gcrypt to git +push and pull. +"""]] |