From 18af154d374594acc496ddb45126153573444605 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 7 Apr 2017 16:06:14 -0400 Subject: comment --- ...ent_1_236d2b897a550e7db4b266814d4e778d._comment | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 doc/bugs/get_-J_cannot_be_used_with_password-based_authentication/comment_1_236d2b897a550e7db4b266814d4e778d._comment diff --git a/doc/bugs/get_-J_cannot_be_used_with_password-based_authentication/comment_1_236d2b897a550e7db4b266814d4e778d._comment b/doc/bugs/get_-J_cannot_be_used_with_password-based_authentication/comment_1_236d2b897a550e7db4b266814d4e778d._comment new file mode 100644 index 000000000..40e7ee2ca --- /dev/null +++ b/doc/bugs/get_-J_cannot_be_used_with_password-based_authentication/comment_1_236d2b897a550e7db4b266814d4e778d._comment @@ -0,0 +1,25 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2017-04-07T19:58:41Z" + content=""" +Well let's see.. To fix this would need some way for ssh to outsource its +password prompting to another program, which could then serialize +concurrent password requests, and perhaps reuse the same password when +reconnecting to the same host. + +Sounds an aweful lot like ssh-agent, doesn't it? + +Now, it does happen to be the case that without -J, the password is only +prompted for once to download multiple files from the same host. That works +because of ssh connection caching. But in the -J case, the +connection caching does not help, because multiple sshed are started before +there's a connection to reuse, so each tries to make a new connection and +prompts. + +Even if connection caching worked with -J, the general problem would remain +when it did concurrent downloads from different hosts. + +So I tend to feel that this is just not fixable; if the user wants to use +-J, they ought to use ssh-agent so it doesn't prompt for passwords. +"""]] -- cgit v1.2.3