From: Mark Probert Date: 2002-03-06T06:42:37+09:00 Subject: Re: passing off telnet connection At 05:34 AM 3/6/2002 +0900, Mike wrote: >Can anyone tell me how I might create a net/telnet connection within ruby, >but just basically handle the login portion and then pass the connection >off to the user? require 'net/telnet' conn = Net::Telnet.new('Host' => @host, 'Timeout' => @timeout, 'Port' => @port) conn.login "user", "password" I wrap conn up in a class. Hope this helps. -mark.