Thanks for all the great suggestions! As requested, here is the relevant code (after some of the suggestions implemented) and the output. It appears that the pattern match isn't working, although I'm trying to match anything, and again this is working on 2 other servers. It also appears as if it's asking for authentication info, yet if i manually ssh it connects without user/password. Thanks again for the help!