The error that is occuring is, cant connect to port 22 when it hits a telnet router, which is fine. The problem is it dies at that point instead of going to the next line, which is my if statement to use the telnet login. If I reverse it and do Telnet first, the same thing occurs when it hits the first SSH router.
Ill look into the eval suggestion. Thank you.
in reply to Re: How do I stop SSH Module from dieing?
in thread How do I stop SSH Module from dieing?