hi all,
i am tring to tranfer files between two linux systems through sftop
i have installed the following modules :
1. Download Net::FTP and Install 2. Download Net::SFTP .
1. PreRequisite for Install Net::SFTP is Net::SSH::Perl 2. PreRequisite for Net::SSH::Perl is 2.1 Protocol 1: 2.1.1 Math::GMP 2.1.2 String::CRC32 2.1.3 Digest::MD5 2.1.4 IO::Socket 2.2 Protocol 2: 2.2.1 Crypt::DSA (version 0.03 or Greater) 2.2.2 Crypt::DH (version 0.01 or Greater) 2.2.3 Math::Pari (version 2.001804 or Greater) 2.2.4 MIME::Base64 2.2.5 Digest::MD5 2.2.6 Convert::PEM (version 0.05 or Greater) 2.2.7 IO::Socket
3. PreRequisite for Crypt::DSA 3.1 Digest::SHA1 3.2 Math::Pari (version 2.001800 or Greater) 3.3 Crypt::Random (version 0.33 or Greater)
PreRequisite for Crypt::Random 3.3.1 Class::Loader
4. PreRequisite for Crypt::DH 4.1 Math::Pari (version 2.001804 or Greater). 4.2 Crypt::Random (version 0.33 or Greater).
5. PreRequisite for Convert::PEM 5.1 MIME::Base64 5.2 Convert::ASN1 (version 0.10 or Greater) 5.3 Digest::MD5 5.4 Crypt::DES_EDE3
PreRequisite for Crypt::DES_EDE3 5.4.1 Crypt::DES
PreRequisite for Crypt::DES 5.4.1.1 Crypt::CBC
PreRequisite for Crypt::CBC 5.4.1.1.1 Crypt::Rijndael
6. PreRequisite for Math::GMP 6.1 gmp-4.1.2
and also Net-SSH-0.07
and my original code is :
#!/usr/bin/perl
use Net::SFTP:
use strict; use warnings;
my $host="192.168.255.214"; my $user="shuban"; my $password="shuban"; my $proto="sftp";
my $hp=Net::SFTP->new("$host",user=>"$user",password=>"$password",proto=>"$proto") or die "not connected";
and the error displayed after running the perl file with the above code is :
"Request for subsystem 'sftp' failed on channel '1' at /usr/lib/perl5/site_perl/5.6.0/Net/SFTP.pm line 66."
please help in this regard.
i have sent a mail earlier with the same problem , but i got reply fort sending the original code. the code above is the original code .
please help me rectify my problem
with regards uday
___________________________________________________
Download the hottest & happening ringtones here!
OR SMS: Top tone to 7333
Click here now: http://sms.rediff.com/cgi-bin/ringtone/ringhome.pl
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]