Better ssh connection warmup when using -J for concurrency.
Avoids ugly messages when forced ssh command is not git-annex-shell. This commit was sponsored by Ole-Morten Duesund on Patreon.
This commit is contained in:
parent
460ab8a181
commit
3dd43df9c2
5 changed files with 60 additions and 40 deletions
|
@ -30,3 +30,4 @@ git-annex version: 6.20180227-g32d682dd8 (standalone version) on Debian stretch
|
|||
As always, I'm a fan :>
|
||||
|
||||
|
||||
> [[fixed|done]] --[[Joey]]
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 4"""
|
||||
date="2018-03-07T20:25:10Z"
|
||||
content="""
|
||||
Ok, this involves the fairly recently added support for
|
||||
avoding overlapping ssh password prompts when running multiple ssh
|
||||
processes concurrently.
|
||||
|
||||
In -J mode, git-annex warms up the ssh connection by running
|
||||
"git-annex-shell inannex". Your rrsync config prevents that being run.
|
||||
|
||||
This doesn't actually cause a problem, the connection is still warmed up.
|
||||
If you needed a password to connect, it would have prompted for it before
|
||||
the error message from rrsync.
|
||||
|
||||
But it's ugly.. I've committed a fix that will avoid the ugly messages.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue