puppetlabs/rspec-system — pull request #72 by JHaals (2013-11-08 10:53:34+00:00)
Title: rescue and retry ssh on AuthenticationFailed

I've seen machines where ssh server isn't fully running when the launch
method hand over to connect causing a Net::SSH::AuthenticationFailed