I've generally found it a bit tricky to get Net::Telnet working properly for particular machines. Something close to
the following usually works for me (but seemingly inconsequential changes can cause failure):