Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
SSH host key prompts trample over each other #13318
This is a known problem, for which I had submitted a patch with #12276. Although that PR was merged, the actual locking part was rejected because it (unavoidably) waited too long if ssh timed out trying to connect to unreachable hosts.
@bcoca said on IRC that he may be prepared to reconsider this for v2, because otherwise it's painful to deal with any number of newly-provisioned hosts.
I'm creating this just to keep track of the decision. If the feature is definitely wanted for v2.0, then I'll go back and rebase [https://gist.github.com/amenonsen/a2ecbea86b468e780608](the patch that I had originally submitted) (which worked fine, but by now needs rebasing, and can also be slightly improved upon).