Retry failed ssh commands. This is especially useful during system startup when the hosts may not have yet come on-line but can be useful at other points for people with flakey connections
Just use a loop for retries
Merge pull request #555 from holdenk/master

Retry failed ssh commands in the ec2 python script.