jtzako has asked for the wisdom of the Perl Monks concerning the following question:
I am using Net::Telnet to connect to some devices, however, some devices use "Password:" to request a password and others use "PASSCODE:" for the same. For some reason net::telnet times out on the ones asking for PASSCODE:.
The passcode one looks like this
$ telnet routername Trying <ipaddress>... Connected to routername. Escape character is '^]'. ----------------------- W A R N I N G ------------------------------- bannergoeshere --------------------------------------------------------------------- User Access Verification Username: myusername Enter PASSCODE:
The password one looks like this
$ telnet routername Trying <ipaddress>... Connected to routername. Escape character is '^]'. User Access Verification Username: myusername Password:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::Telnet - cant detect Passcode prompt?
by hippo (Archbishop) on Apr 05, 2016 at 21:42 UTC | |
by Anonymous Monk on Apr 05, 2016 at 23:01 UTC | |
|
Re: Net::Telnet - cant detect Passcode prompt?
by VinsWorldcom (Prior) on Apr 06, 2016 at 01:16 UTC |