diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-02-12 14:47:35 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-02-12 14:47:35 -0400 |
commit | 15b68af5e7897d5747d21174ecaa682b69b90865 (patch) | |
tree | b85b73efac2eadfbddb3981c93db3aa30cc0bda6 | |
parent | efa7be3661d2f0660dd58e540a82c2c650c9de7f (diff) |
details needed
-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. +"""]] |