<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>I could be mistaken here, but it appears you're not in privilege mode when rancid tries to do "show run". There's no # in the prompt.</div>
<div><br>
</div>
<div>Maybe this value should be set to "1" for rancid to "enable" the device. </div>
<div><br>
</div>
<div> <span style="font-family: Calibri; font-size: medium; ">add autonenable 192.168.1.18 0</span></div>
</div>
<div><span style="font-family: Calibri; font-size: medium; "><br>
</span></div>
<div><span style="font-family: Calibri; font-size: medium; "> -- Matt</span></div>
<div><span style="font-family: Calibri; font-size: medium; "><br>
</span></div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>"Cl�ment M." <<a href="mailto:mezino.clement@gmail.com">mezino.clement@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Friday, January 10, 2014 6:08 AM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a>" <<a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a>><br>
<span style="font-weight:bold">Subject: </span>[rancid] Problem using rancid<br>
</div>
<div><br>
</div>
<div>
<div>
<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>
</div>
</div>
</span><br>
<hr>
<font face="Arial" color="Black" size="2">This message is being sent by Skyfire Labs. It is intended exclusively for the individuals and entities to which it is addressed. This communication, including any attachments, may contain information that is proprietary,
privileged, confidential, or otherwise subject to restrictions on disclosure pursuant to applicable law. If you are not the named addressee, you are not authorized to read, print, retain copy or disseminate this message or any part of it. If you have received
this message in error, please notify the sender immediately by email and delete all copies of this message. This message is protected by applicable legal privileges and is confidential.<br>
</font>
</body>
</html>