On Sat, 28 Aug 2010 11:55:01 +0530, S Pratap Singh wrote: > Is there any way I can get these interactive output via my script or I > am missing something? .. Thanks for your continued help. > > I need to get those interactive outputs to my script or is there any way > to open a psuedo terminal. I do not want to execute command on server > it should be examined via my script and then it should get executed . > Let me know if this is possible using perl or I have to use any other > scripting language like python.
Yes, the documentation for Net::SSH::Perl explains how. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ http://www.informit.com/store/product.aspx?isbn=0137001274 http://www.oreillyschool.com/courses/perl1/ -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/