[rancid] Timeout
Tim Warnock
timoid at timoid.org
Mon Jan 3 20:37:09 UTC 2022
Does your banner contain any of > or # ?
-----Original Message-----
From: Rancid-discuss <rancid-discuss-bounces at www.shrubbery.net> On Behalf Of brutuz bigdaddy
Sent: Tuesday, 4 January 2022 3:47 AM
To: rancid-discuss at www.shrubbery.net
Subject: [rancid] Timeout
I have this information..
add user myNexus5k prodlogin
add password myNexus5k prodpass
add noenable myNexus5k 1
add method myNexus5k ssh
running debug:
expect: does "" (spawn_id exp7) match regular expression "[\r\n]+"? (No Gate, RE only) gate=yes re=no
"^(.+[:.])1 ((>|#| \(enable\)))"? (No Gate, RE only) gate=yes re=no
"^.+(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
Password:
expect: does "Password: " (spawn_id exp7) match regular expression "[\r\n]+"? (No Gate, RE only) gate=yes re=no
"^(.+[:.])1 ((>|#| \(enable\)))"? (No Gate, RE only) gate=yes re=no
"^.+(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
expect: timed out
Error: TIMEOUT reached
The nexus5k switch has banner/motd. It looks like pass is not being sent.
More information about the Rancid-discuss
mailing list