clogin not logging into Cisco router

Andrew Partan asp at partan.com
Fri Mar 15 21:54:46 UTC 2002


On Fri, Mar 15, 2002 at 01:47:24PM -0500, Joshua Wright wrote:
> add prompt      *.mydomain.com    {"Username :"}

You want userprompt.

Bits of clogin:
    # Figure out prompts
    set u_prompt [find userprompt $router]
    if { "$u_prompt" == "" } { set u_prompt "(Username|Login|login|user name):"}
    set p_prompt [find passprompt $router]
    if { "$p_prompt" == "" } { set p_prompt "(\[Pp]assword|passwd):" }
    set e_prompt [find enableprompt $router]
    if { "$e_prompt" == "" } { set e_prompt "\[Pp]assword:" }

	--asp



More information about the Rancid-discuss mailing list