I've had success with the Net::Telnet module. But I can't get the
SU
command to work. It times out waiting for a password. Any ideas? Thanks! John ---CODE---- #! perl remote login use Net::Telnet (); $telnet = new Net::Telnet (Timeout => 5); $telnet->open("192.134.1.23"); $telnet->login($user, $pw); $telnet->cmd("su"); #it never seems to get to this point $telnet->waitfor('/Password: /'); $telnet->print("the password"); |
- Re: net::telnet John Williams
- Re: net::telnet Ted W.
- Re: net::telnet Ron Grabowski
- net::telnet John Williams
- RE: NET::Telnet Thomas R Wyant_III
- RE: NET::Telnet Carter Thompson
- FW: NET::Telnet Moulder, Glen
- RE: NET::Telnet Carter Thompson
- RE: NET::Telnet Story, Lenny
- FW: NET::Telnet Moulder, Glen
- RE: NET::Telnet John Serink