[rancid] Fwd: Re: SSH not working with HP Procurve Switches

Riley Tompkins thecomputerking at gmail.com
Fri Sep 21 21:08:00 UTC 2007


Have you su 'd into the user that rancid is using to make the ssh
connection and accepted the RSA key?

i.e
[root at localhost~]su - rancid
[rancid at localhost~] ssh 192.168.1.1
The authenticity of host 'ssh-server.example.com (192.168.1.1)' can't
be established.
RSA key fingerprint is 98:2e:d7:e0:de:9f:ac:67:28:c2:42:2d:37:16:58:4d.
 Are you sure you want to continue connecting (yes/no)? yes

  Warning: Permanently added '192.168.1.1' (RSA) to the list of known hosts.


On 9/21/07, john heasley <heas at shrubbery.net> wrote:
> Fri, Sep 21, 2007 at 12:36:07PM +0100, mario:
> > Hi
> > i have enabled "add method 192.168.1.1 ssh" in the .cloginrc file.
> >
> > When i run rancid-run to connect to the switch i get the following error
> > in the log file:
> >
> > Getting missed routers: round 4.
> > 192.168.1.1 clogin error: Error: Couldn't login
> > 192.168.1.1: missed cmd(s): show stack,show module,show flash,show
> > version,show system-information,write term
> > 192.168.1.1: End of run not found
> > ;
> >
> > cvs diff: Diffing .
> > cvs diff: Diffing configs
> > cvs commit: Examining .
> > cvs commit: Examining configs
> >
> >
> >
> > If i run hlogin from the command prompt i alos get an error:
> >
> > rancid at debian:~/var/logs$ hlogin 192.168.1.1
> > 192.168.1.1
> > spawn hpuifilter -- 'ssh -c 3des -x -l rancid' 192.168.1.1
> > hpuifilter: execlp() failed: No such file or directory
> >
> > Error: Couldn't login
> >
> >
> >
> > Any Ideas?
>
> what version of rancid?  what o/s?  please try 2.3.2a7
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>


More information about the Rancid-discuss mailing list