[rancid] avorancid and ssh

Ben O'Hara bohara at ripe.net
Thu Jun 17 15:32:17 UTC 2010


I've just added some cyclades console servers to our racnid setup and set them as avocent devices to be accessed via ssh.

I was getting the following errors when running rancid, which looked to be because $cmd wasnt set if it was via ssh.

Trying to get all of the configs.
sincns.ripe.net avologin error: Error: ssh failed: can't read "cmd": no such variable
sincns.ripe.net: missed cmd(s): cat /etc/network/ifcfg_eth0,cat /etc/snmp/snmpd.conf,cat /etc/passwd,cat /etc/resolv.conf,cat /etc/hostname,cat /etc/domainname.conf,cat /etc/portslave/pslave.conf,cat /etc/network/st_routes,cat /etc/security.opts
sincns.ripe.net: End of run not found

I've fixed this with the attached patch which I copied from clogin into avologin.

Anyone see any problems with this? It now seems to work OK.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: avologin.in.patch
Type: application/octet-stream
Size: 401 bytes
Desc: not available
Url : http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20100617/8a5e84ee/attachment.obj 
-------------- next part --------------


Ben O'Hara                        RIPE Network Coordination Center
Systems Engineer                         Singel 258, Amsterdam, NL
http://www.ripe.net                                +31 20 535 4444
PGP Fingerprint: 080A 52FF BF0A A7FB F176 E7DB 513D 9A3D E968 7DBC

More information about the Rancid-discuss mailing list