----- Original Message -----
From: vemulakonda uday bhaskar <[EMAIL PROTECTED]>
Date: Wednesday, July 16, 2003 8:07 am
Subject: help needded

> hi all

Hi
> 
> i have installed the Net::SFTP module along with all its 
> prerequisite modules..

Have you installed the correct version of ssh ??
> 
> my code :
> 
> #!/usr/bin/perl
> 
> use Net::SFTP:
> 
> use strict;
> use warnings;
> 
> my $host="xxx.xxx.xxx.xxx";
> my $user="xxx";
> my $password="xxx";
> my $proto="sftp";
> 
> my 
> $hp=Net::SFTP-
> >new("host",user=>"$user",password=>"$password",proto=>"$proto") 
you need a $ by the host

...new($host,...);

> or die "not connected";
> 
> the above was my code. but wheni run it, i get the following error 
> :
> 
> "Request for subsystem 'sftp' failed on channel '1' at 
> /usr/lib/perl5/site_perl/5.6.0/Net/SFTP.pm line 66."
> 
> please give an advise so as to rectify the error.
> 
> with regards
> uday

hTh,
Mark G
> ___________________________________________________
> 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]
> 
> 


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

Reply via email to