droz578 has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Net::SSH::Perl CPAN issue
by liverpole (Monsignor) on Oct 16, 2006 at 14:39 UTC
    Hi droz578,

    Are you by any chance getting a segmentation violation?

    That's the issue I ran into last week, and it was caused by the module Math::Pari (which Net::SSH::Perl uses).

    You can easily test whether this is the case or not, by doing:

    perl -e "use Math::Pari";

    If it causes a segmentation violation, as it did me, then that's the problem.


    s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/
Re: Net::SSH::Perl CPAN issue
by ptum (Priest) on Oct 16, 2006 at 14:13 UTC

    So, you didn't tell us what issues you are running into, getting Net::SSH::Perl running. Personally, I've had better luck using Net::SSH, rather than a 'pure' Perl solution, but that might just be because I'm lazy and didn't want to install all the dependent modules.

Re: Net::SSH::Perl CPAN issue
by xorl (Deacon) on Oct 16, 2006 at 16:45 UTC
    The usual issues I've encountered with this module is getting the password sent without me having to be there and babysit the script. You might want to look into Net::SCP::Expect or consider SSH without a password