mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Adding exception from net-ssh 2.6 that occurs during bootstrap as sshd is just starting up
This commit is contained in:
parent
8767ee1f30
commit
a16ccb3c3d
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ module Fog
|
|||
|
||||
def sshable?(options={})
|
||||
ready? && !public_ip_address.nil? && !!Timeout::timeout(8) { ssh('pwd', options) }
|
||||
rescue SystemCallError, Net::SSH::AuthenticationFailed, Timeout::Error
|
||||
rescue SystemCallError, Net::SSH::AuthenticationFailed, Net::SSH::Disconnect, Timeout::Error
|
||||
false
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue