I am working on a script which will poll a number of devices on my network, and gather a certain set of information. I am using ssh as the primary means of communication between the "base node" and the remote devices.. I am using public key authentication so I don't have to worry about logging into each device. The problem is that some of the devices don't have my public key and/or have expired root passwords, so they ask for a login prompt. I want to be able to ignore this and just mark it up as "ssh is broke" for the purpose of this poll. Another nail in the coffin is that I'm stuck with perl 5.005 (without Thread.pm). Every way I've tried to redirect the output fails, and I can't use any other modules.