in reply to Communication between Windows and Linux via Perl
Hi,
You can try DWIM Perl. It comes with the Net::SSH2 Module pre installed. I have used it to login to a lot of Linux Boxes and Linux Based Storage Arrays and it works like a charm. Do a google search for DWIM Perl.
For Net::SSH2, please read A little demo for Net::SSH2. Its really good. One thing that will help you is, insert a sleep interval - sleep 10 in your script right after you do a chan2->exec('somecommand');.
Perlpetually Indebted To PerlMonks
http://dwimperl.com/windows.html is a boon for Windows.use Learning::Perl; use Beginning::Perl::Ovid; print "Awesome Books";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Communication between Windows and Linux via Perl
by salva (Canon) on Apr 11, 2013 at 08:24 UTC | |
by perl514 (Pilgrim) on Apr 12, 2013 at 12:30 UTC | |
by salva (Canon) on Apr 12, 2013 at 13:14 UTC | |
Re^2: Communication between Windows and Linux via Perl
by zhonghua (Novice) on Apr 11, 2013 at 14:22 UTC |