https://issues.apache.org/bugzilla/show_bug.cgi?id=52105

             Bug #: 52105
           Summary: perl module Net::SSH::Expect within Apache through the
                    web success is intermittent
           Product: Apache httpd-2
           Version: 2.2.21
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: All
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Created attachment 27857
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27857
Source Code

Running the attached program from the command line, it works every time.

Through Mozilla and IE at BEST, I get a response every time I send a WRONG
password (“Password:”), but every other time I send a RIGHT password I get
nothing back (“”). When it does work, it gives me a switch prompt (“MyName>”).

Since it flip-flops through the web, I am not exactly who to report the bug to
as it does work sometimes. My guess is that the open channel is not being
handled correctly by the Apache Per Module Interface, but I am not sure.

With “-v4a” on, I get this every time, but I never see the prompt:

<h2>Trying:WRONG</h2>
<h2>Original: 
debug1: Authentications that can continue: keyboard-interactive,password
Password: </h2>
<h2>Trying:RIGHT</h2>
<h2>Original: 
debug1: Authentication succeeded (keyboard-interactive).
Authenticated to 2.2.2.2 ([2.2.2.2]:22).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = C
</h2>

Web Client: Windows 7 Enterprise - Service Pack 1
Browser: Mozilla 7.0.1
Browser: IE 9.0.8112.16421 Update 9.0.3 (KB2586448)
Web Host: Linux MYHOST 2.6.38.6-26.rc1.fc15.x86_64 #1 SMP Mon May 9 20:45:15
UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Apache: 2.2.21 (Unix)
Perl: 5, version 12, subversion 4 (v5.12.4) built for x86_64-linux-thread-multi
Perl Module: perl-Net-SSH-Expect-1.09-5.fc15.noarch

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to