aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-08-15 12:54:12 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-08-15 12:54:12 -0400
commit5963d330ca1b7dd9f9168a43e105df60d9620211 (patch)
tree8b9216599063e3a3cabe8dd57aeb80c5835fa785 /doc
parent802cecdf36f2575b62c42b105019ea70f3e8aef8 (diff)
comment
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/2_ssh_connection_prompts_for_password/comment_2_62a5cc7cd6b8b06850fb32b76121ad82._comment25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/bugs/2_ssh_connection_prompts_for_password/comment_2_62a5cc7cd6b8b06850fb32b76121ad82._comment b/doc/bugs/2_ssh_connection_prompts_for_password/comment_2_62a5cc7cd6b8b06850fb32b76121ad82._comment
new file mode 100644
index 000000000..f7f3f5da5
--- /dev/null
+++ b/doc/bugs/2_ssh_connection_prompts_for_password/comment_2_62a5cc7cd6b8b06850fb32b76121ad82._comment
@@ -0,0 +1,25 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 2"""
+ date="2017-08-15T16:43:07Z"
+ content="""
+The improvements around ssh password prompting require ssh connection
+caching to work. If a ssh connection fails because the wrong password is
+entered or because there's no usable tty or whatever, there's no cached
+ssh connection to reuse, so the next attempt to access that host will
+result in another password prompt.
+
+Also, datalad does not seem to be running git-annex with -J. So it *can't*
+be trying to make two ssh connection at the same time. My recent work on
+ssh password prompting was mostly to fix cases where git-annex is run with
+-J.
+
+It's also possible that some ssh configuration that I don't know of could
+make ssh password prompt even when git-annex is running it with
+`BatchMode=true` to avoid password prompts (in order to test if the ssh
+connection is already up). That would then result in two ssh password
+prompts, one after the other, which seems to match your transcript.
+
+If you have only one remote, specifying `--from=origin` won't change
+anything. Entering the right password would change something there though..
+"""]]