<div dir="ltr"><div><div>I have an issue where jlogin works when connecting to a juniper device, but if i run rancid-run or jrancid -c 'command' it gets stuck after the prompt.<br><br>The last lines are :<br><br>expect: does "rancid@BGP-CORE-0> " (spawn_id exp4) match regular expression "(\r\n|\n)"? (No Gate, RE only) gate=yes re=no<br>

"^[^ ]+>"? Gate "*>"? gate=yes re=yes<br>expect: set expect_out(0,string) "rancid@BGP-CORE-0>"<br>expect: set expect_out(spawn_id) "exp4"<br>expect: set expect_out(buffer) "rancid@BGP-CORE-0>"<br>

Gate keeper glob pattern for 'rancid@BGP-CORE-0[#>]' is 'rancid@BGP-CORE-0?'. Activating booster.<br><br>expect: does " " (spawn_id exp4) match regular expression "rancid@BGP-CORE-0[#>]"? Gate "rancid@BGP-CORE-0?"? gate=no<br>

expect: timed out<br><br>Error: TIMEOUT reached<br><br></div>I set the timeout to 20 seconds so it'll die. The command was 'show version'. But if i run jlogin without command i can do anything on the device.<br>

<br></div>Any ideas?<br><div><br><br></div></div>