Retry the initial ssh to an ec2 instance
Retry the initial ssh to an ec2 instance

This is because we're still running into the same issue as described at
https://github.com/mitchellh/vagrant-aws/issues/74#issuecomment-54758045,
more than 2 years after it was intially described.

I'm not familiar enough with ruby to know how to discover/narrow down
the class of the exception - it doesn't appear to be part of the stack
trace - so I'm rescuing very broadly, and retrying.  Since there's a
retry limit, in the case where ssh is really unreachable this should
still terminate.

I'd perfer to only catch the network unreachable error.

KariusDx/vagrant-aws,yonglehou/vagrant-aws,Jurisdesk/vagrant-aws,aaam/vagrant-aws,yonglehou/vagrant-aws,rtyler/vagrant-aws,Jurisdesk/vagrant-aws,andyhunne/vagrant-aws,sneal/vagrant-aws,KariusDx/vagrant-aws,uber/vagrant-aws,sharabash/vagrant-aws,rtyler/vagrant-aws,sneal/vagrant-aws,methodfactory/vagrant-aws,uber/vagrant-aws,sharabash/vagrant-aws,aaam/vagrant-aws,fly19890211/vagrant-aws,mitchellh/vagrant-aws,mitchellh/vagrant-aws,andyhunne/vagrant-aws,mkubenka/vagrant-aws,squeedee/vagrant-aws,supriyantomaftuh/vagrant-aws,mkubenka/vagrant-aws,squeedee/vagrant-aws,supriyantomaftuh/vagrant-aws,fly19890211/vagrant-aws,methodfactory/vagrant-aws