[rancid] hp hlogin failing

Jessica Cohen jcohen at AllenTek.com
Thu Feb 23 23:33:50 UTC 2017

<When you SSH, do you have to press something to see the prompt?

No. It's just there. If I press anything, nothing happens. It acts like it's hung. I'm going to upgrade to 3.6 and see if that helps. It was working and then stopped. I don't know what changed.

On 23/02/17 20:20, Jessica Cohen wrote:
Hlogin is failing for some reason on my HP2410G. The logs show clogin error: Error: TIMEOUT reached missed cmd(s): write term,show system-information,show system information,show tech transceivers,show module,show version,show config status,show flash,show stack,show config files End of run not found

I run it from the CLI and it sort of works. I get to the command prompt in the switch but then can't enter any commands. If I SSH directly to the switch from the server it works fine.

When you SSH, do you have to press something to see the prompt?

Suggestions? Response from hlogin below.

rancid at net-mgmt2:~/logs$ /usr/lib/rancid/bin/hlogin
spawn hpuifilter -- ssh -c 3des -x -l admin
We'd like to keep you up to date about:
  * Software feature updates
         HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303

Press any key to continuemgmt-OOB-sw1#

It looks like RANCID doesn't recognise the prompt, but it seems like it has pressed something.

A quick google suggests a change in 3.5 might be relevant:

"hlogin: when refactoring prompt, eat full lines before looking for the prompt"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170223/a42c83f4/attachment.html>

More information about the Rancid-discuss mailing list