For a while now we've had code running on a bunch of Solaris machines that makes ssh connections by using IO::Pty to create pesudoterminals and having Net::Telnet read/write from them, as described in the examples section here:
Net::Telnet
The problem I'm running into now is that we've had to move to new machines and it's decided to stop working. Right now it's complaining "No such file or directory found" on this line:
open STDIN, "<&$tty_fd" or die $!;
And since it hangs on trying to get the terminal prompt I assume it can make the ssh connection but simply cannot read anything back. I have no clue as to why something like this would happen. It's the same versions of perl, IO::Pty, IO::Tty, and Net::Telnet from one working install to the broken one. Google hasn't come up with anything either.
Has anyone run into something like this? Thanks in advance!