in reply to Net::SSH::Perl pty problem with SSH2? SOLVED

Did you try adding another -t to the ssh command? The ssh manpage says "Multiple -t options force tty allocation, even if ssh has no local tty."
  • Comment on Re: Net::SSH::Perl pty problem with SSH2?

Replies are listed 'Best First'.
Re^2: Net::SSH::Perl pty problem with SSH2?
by cmv (Chaplain) on Dec 22, 2008 at 22:29 UTC
    Crackers2++ Good suggestion!

    When I try it, I don't get the error message, but I also don't get STDIN and STDOUT connected to the Net::SSH::Perl connection either (if I substitute the "passwd" command in there, it just exits with an error return code). I have working SSH keys setup between B and C so I know it's not an authentication problem.

    To do the interactive stuff, I need to be able to read/write from machine A to the command on machine C.

    Thanks

    -Craig