in reply to SSH2 scp_get problem

Hi,

I remember that I also did have huge problems with Net-SSH stuff (of course, there were no problems when using the system binaries). Basically, my suggestion for you is to use Net::SFTP for file transfers and Expect stuff for direct invocation and control of ssh sessions if needed.

Regards,
Robot

Replies are listed 'Best First'.
Re^2: SSH2 scp_get problem
by RaduH (Scribe) on Oct 19, 2007 at 17:18 UTC
    Well, for now I solved my problem using SCP. The System SCP, that is, not the Perl Net::SCP module. I just happened to have tried that first and it worked for me. I changed all my code to use that, even the part of Net::SSH2 that worked for me (scp_put works just fine). At least it is all nice and uniform now. I talked to the developer of the module and I files a bug report on CPAN, following his advice.
    Thanks,
    Radu