<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Your test command line needs some work.&nbsp; For example, clogin
&nbsp;is trying to connect to the routers &#8216;show clock&#8217; and &#8216;log&#8217;.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Start by removing all spaces between the -c and the command
string.&nbsp; You also need to set a value for the timeout or remove the -t
option. &nbsp;&nbsp;Your output redirection needs some work as well, you can
test without it.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>For example:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>/var/lib/rancid/bin/clogin -t30 -c&#8217;show clock&#8217;
test-c3560-48-sw.mydomain<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hope that helps,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Mike<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
rancid-discuss-bounces@shrubbery.net
[mailto:rancid-discuss-bounces@shrubbery.net] <b>On Behalf Of </b>Oglum AVD<br>
<b>Sent:</b> Tuesday, December 30, 2008 11:14 PM<br>
<b>To:</b> rancid-discuss@shrubbery.net<br>
<b>Subject:</b> [rancid] Re: Rancid with Cisco ACS 4.x Issue<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div>

<p class=MsoNormal>Here's latest update on this;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>/var/lib/rancid/bin/clogin -t -c&nbsp; 'show clock' <a
href="http://test-c3560-48-sw.mydomain.com">test-c3560-48-sw.mydomain.com</a>
log 2&gt;&amp;1 <br>
show clock<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><strong>Error: no password for show clock in
/root/.cloginrc.</strong><br>
<a href="http://test-c3560-48-sw.mydomain.com">test-c3560-48-sw.mydomain.com</a><br>
spawn ssh -c 3des -x -l ddnetman <a href="http://test-c3560-48-sw.mydomain.com">test-c3560-48-sw.mydomain.com</a><br>
<strong><span style='color:red'>Error: TIMEOUT reached log</span></strong><b><span
style='color:red'><br>
<strong>Error: no password for log in /root/.cloginrc</strong></span></b><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><strong>Password Verification:</strong><br>
nano .cloginrc<br>
add autoenable *.<a href="http://mydomain.com">mydomain.com</a> 1<br>
add user *.<a href="http://mydomain.com">mydomain.com</a> testacc<br>
add password *.<a href="http://mydomain.com">mydomain.com</a> password<br>
add method *.<a href="http://mydomain.com">mydomain.com</a> {ssh}<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><strong>Test ssh from this device to switch;</strong><br>
<a href="mailto:root@804">root@804</a>:~# ssh -l testacc <a
href="http://test-c3560-48-sw.mydomain.com">test-c3560-48-sw.mydomain.com</a><br>
<a href="mailto:testacc@test-c3560-48-sw.mydomain.com's">testacc@test-c3560-48-sw.mydomain.com's</a>
password: <br>
<a href="http://test-c3560-48-sw.mydomain.com">test-c3560-48-sw.mydomain.com#</a><strong>show
clock</strong><br>
22:07:13.168 PST Tue Dec 30 2008<br>
<a href="http://test-c3560-48-sw.mydomain.com">test-c3560-48-sw.mydomain.com#</a><br>
it works OK.<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>using Cisco ACS 4.x and ACS local account.<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>Any suggestion?<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>