[rancid] Connecting to a Cisco Service Control Engine

Sherrill, Justin jsherrill at currentcomm.net
Thu Jan 25 22:07:15 UTC 2007


I've got a number of Cisco SCE units (formerly known as P-Cube).  They
don't prompt for a username, just a password.  Connecting to them with
clogin will log in, but they hang once the user prompt shows.  

The prompt is the normal type that Rancid recognizes - "hostname>".  It
appears that Rancid emits the password normally, and then waits for
something other than the user prompt, which leads to the timeout.  I
don't know what that something is.  

Looking at clogin, it appears that it should enter the password and
happily continue when it sees the '>' in the prompt, unless I'm reading
it wrong.  

Will clogin look for the user prompt if the username hasn't been
entered?

(Details - .cloginrc):

add password    10.0.0.1  pass1   pass2
add method      10.0.0.1  {telnet}

(what I see)

$ ./bin/clogin -c 'show vers' 10.0.0.1
10.0.0.1
spawn telnet 10.0.0.1
Trying 10.0.0.1...
Connected to 10.0.0.1 (10.0.0.1).
Escape character is '^]'.


User Access Verification

Password: 
hostname>     
Error: TIMEOUT reached

-----------------------------------------
Justin C. Sherrill - CURRENT Communications
220 Kenneth Drive
Rochester, New York 14623
P: 585.486.0549 F: 585.486.0030



***CONFIDENTIALITY NOTICE***
The information in this email may be confidential and/or privileged. This email is intended to be reviewed by only the individual or organization named above. If you are not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any review, dissemination or copying of this email and its attachments, if any, or the information contained herein is prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this message from your system. 




More information about the Rancid-discuss mailing list