From: "Rudá G." Date: 2013-05-09T01:53:42+09:00 Subject: Re: Connect to a switch with SSH I tried your class and it throws an exception. The output of the exception is the USER value. Also I tried only this: @ssh_session = Net::SSH.start(CISCO, USER, :password => PASS, :keys => []) @ssh = Net::SSH::Telnet.new("Session" => @ssh_session, "Prompt" => /.*>|.*#/) and I got the Net::SSH::AuthenticationFailed error I dont know why the authentication fails if in the 'login as' field you can enter any value... -- Posted via http://www.ruby-forum.com/.