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

Reply via email to