# File lib/net/ssh/session.rb, line 24 def initialize(host, user, password='', options={}) @host = host @user = user @port = options[:port] || 22 @password = password @history = [] @track_history = true @timeout = options[:timeout] if options[:history] == false @track_history = false end if @timeout && !@timeout.kind_of?(Integer) raise ArgumentError, "Timeout value should be numeric" end end