<div dir="ltr">Hi,<div><br></div><div>I'm having some issues using rancid at work.</div><div><br></div><div>I want to manage cisco switches and everything works fine except for one :(</div><div><br></div><div>In fact, most of them are using telnet and the one that doesn't work uses ssh.</div>
<div><br></div><div>Here's where I am so far :</div><div><br></div><div>clogin -c "show run" 192.168.1.18</div><div><div>spawn ssh -p 22 -c 3des -x -l admin 192.168.1.18</div><div><div>SW></div><div>SW>terminal length 0</div>
<div>SW>terminal width 132</div><div>SW>show run</div><div> ^</div><div>% Invalid input detected at '^' marker.</div><div><br></div><div>SW>exit</div><div>Connection to 192.168.1.18 closed.</div>
</div><div><br></div><div>Not working !</div><div><br></div><div>But when i try a telnet switch, it's all good :</div><div><br></div><div>My cloginrc looks like this :</div><div><br></div><div><div>add method 192.168.1.18 {ssh:22}</div>
<div>add user 192.168.1.18 admin</div><div>add autonenable 192.168.1.18 0<br></div><div>add method 192.168.1.* {telnet:23}</div><div>add password 192.168.1.* {"pass"} {"enable_pass"} --> (Same for all)</div>
</div><div><br></div><div>I'm using telnet for all my switches except for this one. I'm running rancid on a RHEL 6 system.</div><div>Can you help me ?</div><div><br></div><div>Thanks,</div>K
</div></div>