From: Tom C. <tom...@me...> - 2009-09-10 14:31:51
|
Hopefully, someone that has experienced this same issue has found a resolution... I'm driving a perl expect script on a Solaris box through a remote execution daemon on the box. The perl expect script is performing SFTP. The expect trace shows the following error: Error: could not connect pty as controlling terminal! When performing Public key Authentication, the script successfully performs its work even though the error occurs. However, when performing Password Authentication the password prompt is never received when the 'keyboard-interactive' auth method is performed. I need to support both Public Key and Password authentication. When I run the perl expect script manually from a shell prompt on the Solaris box (not through the remote execution daemon), Password Authentication is successful and no error occurs. The 'could not connect pty as controlling terminal' error does NOT occur on Linux when executing through the remote execution daemon...it's only an issue on Solaris. Is there a way to resolve this on Solaris??? Thanks in advance for any assistance, Tom |