aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/get_-J_cannot_be_used_with_password-based_authentication/comment_7_0118a107147f6b94a7da907e599e58db._comment
blob: 24f34bcc01b2aa4608da7cae2c965cde9d4bb7e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[[!comment format=mdwn
 username="joey"
 subject="""comment 7"""
 date="2017-05-11T19:23:02Z"
 content="""
What about when `GIT_SSH` is used? `prepSocket` is not used then,
and git-annex can only use the `GIT_SSH` interface to ssh to the host.
So, the approach above won't work.

git-annex could then try to use `GIT_SSH` to ssh to the host and run eg `true`,
in hopes that `GIT_SSH` is enabling ssh connection caching and that will
get the ssh connection set up. If `GIT_SSH` is not enabling connection
caching, that might add an additional password prompt, and not avoid
other password prompts from overlapping.
"""]]