good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi, I want to use a script on Windows to execute some commands on Linux, then return the command results. I put the Linux RSA identity file "id_rsa" under C: direcoty. And the following is my code: ---------------------clip----------------------------------------------clip------------------------- When I run this script, there are so many problems showed as following. Can't locate Math/Pari.pm in @INC (@INC contains: c:/Perl64/site/lib c:/Perl64/lib .) at C:/Perl64/site/lib/Net/SSH/Perl/Util/SSH2MP.pm line 6, <GEN1> line 1. BEGIN failed--compilation aborted at c:/Perl64/site/lib/Net/SSH/Perl/Util/SSH2MP.pm line 6, <GEN1> line 1. Compilation failed in require at c:/Perl64/site/lib/Net/SSH/Perl/Util.pm line 56, <GEN1> line 1. BEGIN failed--compilation aborted at c:/Perl64/site/lib/Net/SSH/Perl/Kex/DH1.pm line 10, <GEN1> line 1. Compilation failed in require at c:/Perl64/site/lib/Net/SSH/Perl/Kex.pm line 6, <GEN1> line 1. BEGIN failed--compilation aborted at c:/Perl64/site/lib/Net/SSH/Perl/Kex.pm line 6, <GEN1> line 1. Compilation failed in require at c:/Perl64/site/lib/Net/SSH/Perl/SSH2.pm line 6, <GEN1> line 1. BEGIN failed--compilation aborted at c:/Perl64/site/lib/Net/SSH/Perl/SSH2.pm line 6, <GEN1> line 1. Compilation failed in require at c:/Perl64/site/lib/Net/SSH/Perl.pm line 52, <GEN1> line 1. ---------------------clip-------------------------I try to use module Net::SSH to execute this idea, but I don't know how to handle the trust relationship between Windows and Linux. coud you help me to check and resolve this problem? Or give me another idea for the communication between windows and Linux? Thank you. Best Regards, Wei In reply to Communication between Windows and Linux via Perl by zhonghua
|
|