On 17 Jul 2003 08:23:54 -0000, [EMAIL PROTECTED] (Vemulakonda
Uday Bhaskar) wrote:

>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 .
>
>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

I told you this before, can you connect with the sftp program itself?
"sftp  -v yourhost.com"

Not all hosts are setup properly to accept sftp, especially those
running ssh1.

Until you can make that connection, you are wasting your time trying to
connect with perl.

When you do connect with perl, use the debug feature, and post the
output of your connection.

$sftp = Net::SFTP->new("myhost.com",
                    user=>"zz",
                    password=>"zfoo",
                    debug => 1,
                    );



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to