in reply to Re^7: How to solve Pseudo terminal issue OpenSSH
in thread How to solve Pseudo terminal issue OpenSSH

Thanks for CRLF information. Any insights How to allocate Pseudo terminal for SSH

  • Comment on Re^8: How to solve Pseudo terminal issue OpenSSH

Replies are listed 'Best First'.
Re^9: How to solve Pseudo terminal issue OpenSSH
by salva (Canon) on May 14, 2015 at 17:10 UTC
    my ($pty, $pid) = $ssh->open2pty();
    See the section about integrating with Expect on the module documentation.

    In any case, you should investigate why ssh is requesting a remote tty when it is not requested. That is quite unusual (even if probably harmless).