laziness, impatience, and hubris | |
PerlMonks |
Re: Communication between Windows and Linux via Perlby perl514 (Pilgrim) |
on Apr 11, 2013 at 06:10 UTC ( [id://1028080]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|