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 2011-10-06 03:52:03.104476-07 by srinithan
Not working under mod_perl :Password authentication failed error
Here is debug log:
#26911 1317897750.00000 _init_transport: ssh cmd: ssh -o NumberOfPasswordPrompts=1 -o PreferredAuthentications=keyboard-interactive,password -l <username> <sftpserver> -s sftp
#26911 1317897751.00000 _queue_msg: queueing msg len: 5, code:1, id:3 ... [1]
00 00 00 05 01 00 00 00 03 | ......... #26911 1317897751.00000 _get_msg: waiting for message... [1] #26911 1317897751.00000 _do_io: _do_io connected: 1 #26911 1317897751.00000 _do_io: _do_io select(-,-,-, undef) #26911 1317897751.00000 _do_io: _do_io write queue: 9, syswrite: undef, max: 65536, $!: Broken pipe #26911 1317897751.00000 _conn_lost: _conn_lost #26911 1317897751.00000 _set_status: _set_status code: 7, str: Connection lost #26911 1317897751.00000 _set_error: _set_err code: 37, str: Connection to remote server is broken #26911 1317897751.00000 _conn_lost: _conn_lost #26911 1317897751.00000 _set_error: _set_err code: 50, str: Password authentication failed or connection lost It works fine with standalone script.
Direct Responses: 13513 | Write a response
Posted on 2011-10-06 04:07:49.096053-07 by srinithan in response to 13512
Re: Not working under mod_perl :Password authentication failed error
code: my $sftp = new Net::SFTP::Foreign($host, user => $user, password => $password, expect_log_user => 1, );
Direct Responses: 13554 | Write a response
Posted on 2011-11-15 21:51:14.810576-08 by lohelo in response to 13513
Re: Not working under mod_perl :Password authentication failed error
I have the same problem. Works fine under my "non mod_perl" test environment. has anyone figured this out?
Direct Responses: Write a response