On Fri, 13 Oct 2006, Sampurna Mishra wrote:

> Can i please get a solution to my problem ?
> Can anybody in the list share their knowledge with me.
> Can anybody provide a right pointer to solve this problem.
> Help will be highly appreciated.

your code/net-ssh is fine:


   fortytwo :~ > ruby -r rubygems -e ' require "net/ssh"; p Net::SSH.start(ARGV.shift).host ' localhost
   "localhost"


   fortytwo :~ > ruby -r rubygems -e ' require "net/ssh"; p Net::SSH.start(ARGV.shift).host ' pendrell.textdrive.com
   "pendrell.textdrive.com"


if you're on a windows box it's probably virus software and/or network configuration.

sorry couldn't be more help - but you may want to try on another machine or
two.  you do have sshd running on the host your trying to connect to right?
can you ssh in manually?  can you show us those commands?

regards.


-a
-- 
my religion is very simple.  my religion is kindness. -- the dalai lama