# File lib/rhc/wizard.rb, line 483 def test_ssh_connectivity return true unless ssh_key_uploaded? applications.take(1).each do |app| begin ssh = Net::SSH.start(app.host, app.uuid, :timeout => 60) rescue => e raise "An SSH connection could not be established to #{app.host}. Your SSH configuration may not be correct, or the application may not be responding. #{e.message} (#{e.class})" ensure ssh.close if ssh end end true end