When installing perl Net::SFTP module in CentOS 5 box:
# perl -MCPAN -e 'install Net::SSH::Perl'
It got stuck at:
then I tried installation with force so that it can skip tests if any of them failed:
# perl -MCPAN -e 'force install Net::SSH::Perl'
The module seems installed ok but while using in a script, error occured:
Can’t locate Net/SSH/Perl/Buffer.pm in @INC …
that means, the module still not installed/configured properly. To get it done, I searched for rpms and found rpmforge repository http://dag.wieers.com/rpm/packages/rpmforge-release/ have all the sufficient rpms:
# rpm -ivh /usr/src/rpmforge-release-0.3.4-1.el4.rf.i386.rpm
# yum install perl-Net-SSH-Perl --enablerepo=rpmforge
and its done.