From: Heesob Park Date: 2008-10-16T10:11:43+09:00 Subject: Re: Using Net SSH to issue command on remote windows XP 2008/10/16 Saritha Yeddula : > Robert Dober wrote: >> On Tue, Oct 14, 2008 at 5:33 PM, Saritha Yeddula >> wrote: >> >> Sure can >> the only question is what shell you will use than! SSH is only the >> transport layer, the application layer still is a different story. >> I guess this is often forgotten when using it between 2 Linux boxes as >> the application layers are so obviously compatible... >> >> However if you installed openSSH with cygwin your shell should be bash >> would this do? IIRC there is nothing DOS can do what bash cannot. >> >> HTH >> Robert >> >> -- >> C'est v�ritablement utile puisque c'est joli. >> >> Antoine de Saint Exup�ry > > I have done as quoted by Park. > My ssh.exec! is not recognized. > Here is the error I get. > > Opened Connection to > 10.10.12.21c:/ruby/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/session.rb:199:in > `method_missing' > : undefined method `exec!' for # > (NoMethodError) > I tested with net-ssh-2.0.4 BTW, gem install net-ssh failed with Zlib::BufError So I installed it by downloading zip file. Regards, Park Heesob