i have a code in perl which uses sftp between linux systems.
the code is:
#!/usr/local/bin
use strict; use warnings;
use Net::SFTP;
my $host="xxx.xxx.xxx.xxx";
$u="username";
$p="password";
my $sftp=Net::SFTP->new($host,Proto=>"tcp",user=>"$u",password=>"$p")
or die "cannot connect";
and i have installed sftp-0.9.9
but it is givibg error saying that
"Requestion for subsystem 'sftp' failed on channel'1' at /usr/lib/perl15/site_perl/5.6.0/Net.SFTP.pn at line 66
and when i go thru the path above and see the 66th line of SFTP.pm
it is like this
" line : my $subsystem_reply=sub{ my($channel,$packet)[EMAIL PROTECTED]; my $id=$packet->get_int32; if($packet->type==SSH2_MSG_CHANNEL_FAILURE) {
___________________________________________________ Click below to experience Sooraj R Barjatya's latest offering 'Main Prem Ki Diwani Hoon' starring Hrithik, Abhishek & Kareena http://www.mpkdh.com
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]