# File lib/fog/core/ssh.rb, line 34 def initialize(address, username, options) require 'net/ssh' key_manager = Net::SSH::Authentication::KeyManager.new(nil, options) unless options[:key_data] || options[:keys] || options[:password] || key_manager.agent raise ArgumentError.new(':key_data, :keys, :password or a loaded ssh-agent is required to initialize SSH') end @address = address @username = username @options = { :paranoid => false }.merge(options) end