I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2009-11-27 10:20:03-08 by rajeev
Net::Sftp::Foreign hangs when try to connect with the passwaord
hi , i am usinfg Net::Sftp::Foreign and when i am tring to connect using the hostname,user,password it hangs and does not response . please help its very urgent for me. Code: eval { my $sftp = Net::SFTP::Foreign-new( host =$target_host, user = $username, password = $password, timeout = $seconds, more = [qw(-i /home/user/.ssh/my_priv_key)] ); print "connecting..........."; $sftp-error and die "SSH connection failed: " . $sftp-error; if ($sftp) { print "Connected".$sftp-error; } }; if($@) { print "error is ".$@; } was not accepting by the portal.
Direct Responses: 11843 | Write a response
Posted on 2009-11-27 10:59:14-08 by salva in response to 11842
Re: Net::Sftp::Foreign hangs when try to connect with the passwaord
when calling the constructor give the password or the key file you want to use but not both
Direct Responses: Write a response