<div dir="ltr">I have configured RANCID to backup my Cisco switches.<div><br></div><div>using these commands:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>/usr/libexec/rancid/clogin -c 'write term' x.x.x.45 > 45.cfg</div></div><div><div>/usr/libexec/rancid/clogin -c 'write term' x.x.x..41 > 41.cfg</div></div></blockquote><div><br></div><div>This works as designed</div><div><br></div><div>I have a Juniper SRX-210 firewall that I want to backup.</div><div><br></div><div>I am using this command to backup the config:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>/usr/libexec/rancid/clogin -c 'set cli screen-length 0;show configuration' x.x.x.200 > 200.cfg</div></div></blockquote><div><br></div><div>I think that the problem is that the prompt is not recognized and the commands are not executed after login:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>[rancid@tools rancid]$ /usr/libexec/rancid/clogin -c 'set cli screen-length 0;show configuration' x.x.x.200</div></div><div><div>x.x.x.200</div></div><div><div>spawn ssh -c 3des -x -l root x.x.x.200</div></div><div><div><br></div></div><div><div><br></div></div><div><div><br></div></div><div><div>This system is for the use of authorized users only.</div></div><div><div>Individuals using this computer system without</div></div><div><div>authority, or in excess of their authority, are subject</div></div><div><div>to having all of their activities on this system</div></div><div><div>monitored and recorded by system personnel.  In the</div></div><div><div>course of monitoring individuals improperly using this</div></div><div><div>system, or in the course of system maintenance, the</div></div><div><div>activities of authorized users may also be monitored.</div></div><div><div>Anyone using this system expressly consents to such</div></div><div><div>monitoring and is advised that if such monitoring</div></div><div><div>reveals possible evidence of criminal activity, system</div></div><div><div>personnel may provide the evidence of such monitoring</div></div><div><div>to law enforcement officials.</div></div><div><div><br></div></div><div><div><br></div></div><div><div>Password:</div></div><div><div>--- JUNOS 12.1X46-D50.4 built 2016-04-17 11:15:31 UTC</div></div><div><div>root@SRX210%</div></div><div><div><br></div></div><div><div>Error: TIMEOUT reached</div></div></blockquote><div><br></div><div><br></div><div><div class="gmail_extra">The rancid logs for the firewall are empty</div></div><div class="gmail_extra"><br></div><div class="gmail_extra">Does anyone have any words of wisdom to resolve?</div></div>