On Thu, 31 Aug 2000, 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?

I haven't any experience with Expect.pm, but the above error is 
generated when sshd cannot open the controlling tty. Are there any
options to Expect.pm that you need to set in order to assign a pty?

Alternately you could set up a limited RSA authentication without a
passphrase.

-d

-- 
| ``The power of accurate observation is  | Damien Miller <[EMAIL PROTECTED]>
| commonly called cynicism by those who   | @Work <[EMAIL PROTECTED]>
| have not got it'' - George Bernard Shaw | http://www.mindrot.org

Reply via email to