jackster the jackle wrote:
> Do you have any code examples you can post?

Inside the git repo is an examples/ directory - but perhaps this didn't 
make it into the gem.

In any case you can find them via the rubyforge site. Follow the SCM tab 
then the gitweb link. This takes you to

http://net-ssh-telnet.rubyforge.org/git?p=net-ssh-telnet.git;a=tree;f=examples;h=5ca0ed1db1c8bb18d6fb08cfe1a439191a2e9cbb;hb=HEAD

I suggest you start with get_hostname.rb

Once you've established the ssh connection, the API is the same as 
Net::Telnet, so you can look at the Ruby API pages, or look for a file 
like /usr/lib/ruby/1.8/net/telnet.rb on your system.

HTH,

Brian.
-- 
Posted via http://www.ruby-forum.com/.