[qmtest] SSH Password Dialog Box?

Scott Lowrey slowrey at nextone.com
Thu Jan 8 03:34:47 UTC 2004



Mark Mitchell wrote:

>>I would hazard a guess that yeah, somehow ssh is not hooked up to a
>>terminal, and that's triggering the above check.  I have no idea _why_
>>ssh wouldn't be hooked up to a terminal -- shouldn't pexpect be taking
>>care of that? -- but that's probably what's going on.  I certainly
>>don't know what QMTest would be doing to break pexpect.
>>    
>>
>
>Like Nathaniel, I would very much expect that pexpect should be creating
>a pseudo-terminal for your SSH process to run under.  If not, that's
>what should be done.  I don't believe that QMTest does anything with
>pseudo-terminals.
>
>  
>
Right.  And I think Nathaniel identified the problem.  A colleague 
suggested that ssh-agent might have something to do with it but I don't 
typically run the agent so that wasn't it.  The DISPLAY and SSH_ASKPASS 
environment variables are set, though, so it all adds up.

Regardless of all that, Pexpect should be starting ssh in pty-friendly 
way.  I'll check it out when I get the chance but for now since it's not 
a show-stopper.  If the SSH public keys (or the agent) are set up 
properly then I'm good to go.  Thanks for the pointers.




More information about the qmtest mailing list