diff --git a/lib/fog/aws/models/compute/server.rb b/lib/fog/aws/models/compute/server.rb index 39d3d8f9e..329f909af 100644 --- a/lib/fog/aws/models/compute/server.rb +++ b/lib/fog/aws/models/compute/server.rb @@ -167,7 +167,7 @@ module Fog Timeout::timeout(4) do Fog::SSH.new(ip_address, username, credentials).run(commands) end - rescue Net::SSH::AuthenticationFailed, Timeout::Error + rescue Timeout::Error retry end end