Thanks Brian,

I am trying to run the following code after successfully installing the 
gem but ruby can't seem to find net/telnet/ssh:

$: << File.dirname(__FILE__) + "/../lib"
require 'net/ssh/telnet'

s = Net::SSH::Telnet.new("Dump_log" => "/dev/stdout",
         "Host" => "10.1.1.1",
         "Username" => "jackster",
         "Password" => "password"
        )
 puts "Logged in"
 puts s.cmd("sh tac")

s.close

Here's the error message:

./netssh.rb:4:in `require': no such file to load -- net/ssh/telnet 
(LoadError)
        from ./netssh.rb:4

Not sure if I'm missing something from installing the gem?
thanks
jackster
-- 
Posted via http://www.ruby-forum.com/.