thanx again. I followed the steps provided by you. It worked upto some extent. Below are the issues I am facing now. 1) Its again throwing below error.

Can't locate Crypt/DSA.pm in @INC (@INC contains: /home/eankuls/src/Ne +t-SSH-Perl-1.37/blib/lib/ /home/eankuls/.cpan/build/Digest-HMAC-1.03- +SpRncH/blib/lib/ /home/eankuls/lib/lib/perl/5.14.2/ /home/eankuls/lib +/share/perl/5.14.2/ ~/lib/ /etc/perl /usr/local/lib/perl/5.14.2 /usr/ +local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl +/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/eanku +ls/src/Net-SSH-Perl-1.37/blib/lib//Net/SSH/Perl/Key/DSA.pm line 14.

So i need to download tar files and install the required modules again & again. 2)after installing (by tar files methods) all the modules, it is throwing the below error.

Permission denied at /home/eankuls/src/Net-SFTP-0.10/blib/lib//Net/SF +TP.pm line 62. 60 my $ssh = Net::SSH::Perl->new($sftp->{host}, protocol => 2, 61 debug => $sftp->{debug}, @{ $param{ssh_args} }); 62 $ssh->login($param{user}, $param{password}, 'supress_she +ll'); 63 $sftp->{ssh} = $ssh;

1st part is the error i am getting while running the acript & second one is the part of SFTP.pm containg 62nd line... please help


In reply to Re^8: Not able to use Net::SFTP module. by Ankur_kuls
in thread Not able to use Net::SFTP module. by Ankur_kuls

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.