Yes , Perl is very picky about ttys in general, that's one reason most of
us here (see sig below) have switched to Python. I wrote a huge app in
Python that threaded hundreds of ssh sessions (actually scp sessions) with
no worry about tty problems.

Carl

On 31-Aug-00 agony wrote:
> Hi everyone.
> 
> I'm writing a script in perl that uses the Expect.pm module. I use it
> to call ssh to log into another server. The remote sshd, however,
> returns an error on the login attempt:
> 
> You have no controlling tty. Cannot read passphrase.
> 
> I've gotten it to work using the real tcl-based 'expect' program. Has
> anyone encountered and dealt with this problem in perl?
> 
> Thanks,
> 
> Ken Trenkelbach
> 
> ps - in case it matters:
> 
> SSH Version OpenSSH-1.2.2, protocol version 1.5.
> Compiled with SSL.
> 
> and
> 
> sshd version OpenSSH-1.2.2

------------------------------------------------------------------------
E-Mail: Carl J. Nobile <[EMAIL PROTECTED]>
Date: 01-Sep-00                             Phone: 315-453-2912 Ex. 5336
Time: 07:56:24                                Fax: 315-479-0859

Software Engineering Group -- AppliedTheory Corp.
224 Harrison Street, 6th Floor, Syracuse, NY  13202
------------------------------------------------------------------------

Reply via email to