Discussion:
[rancid] SSH not working with HP Procurve Switches
mario
2007-09-21 11:36:07 UTC
Permalink
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:

***@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?

Thanks Mario.
Chris Gauthier
2007-09-21 15:01:54 UTC
Permalink
This post might be inappropriate. Click to display it.
john heasley
2007-09-21 15:35:12 UTC
Permalink
Post by 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
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
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
Riley Tompkins
2007-09-21 21:08:00 UTC
Permalink
Have you su 'd into the user that rancid is using to make the ssh
connection and accepted the RSA key?

i.e
[***@localhost~]su - rancid
[***@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.
Post by john heasley
Post by 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
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
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
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
john heasley
2007-09-21 23:13:37 UTC
Permalink
Post by Riley Tompkins
Have you su 'd into the user that rancid is using to make the ssh
connection and accepted the RSA key?
the login scripts should do that for you.

Loading...