[rancid] jlogin timeout

Jean BENOIT jean.benoit at crc.u-strasbg.fr
Mon Jan 14 18:09:56 UTC 2008


Hello,

jlogin stopped working after I upgraded expect.
I am using expect-devel from the FreeBSD ports,
which is based on expect 5.44.1
(reasons for upgrading expect :
http://www.shrubbery.net/pipermail/rancid-discuss/2008-January/002672.html
)

While doing a ssh password authentication on a
Juniper router, expect finds no matching expression.
Previous version of expect was tolerant with this line :

 	    "\[Pp]assword:"	{
  				  sleep 1; send "$passwd\r"
  				  exp_continue
  				}

The "-re" flag should be provided for this line to work.

--
Jean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jlogin.diff
Type: text/x-diff
Size: 452 bytes
Desc: not available
Url : http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20080114/77a2e972/attachment.bin 


More information about the Rancid-discuss mailing list