# File lib/cisco/ssh.rb, line 9 def initialize(options) @host = options[:host] @user = options[:user] @password = options[:password] @prompt = options[:prompt] @sshargs = options[:directargs] || [@host, @user, {:password => @password, :auth_methods => ["password"]}] @pwprompt = options[:pwprompt] || "Password:" @cmdbuf, @extra_init = [], [] end