<div>Hello Mike,</div>
<div> </div>
<div><em>Thanks for you reply and suggestions!!!</em></div>
<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d">/var/lib/rancid/bin/clogin -t30 -c'show clock' test-c3560-48-sw.mydomain -- <font color="#33cc00">worked</font></span></div>
<div><span style="FONT-SIZE: 11pt; COLOR: #1f497d"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">/var/lib/rancid/bin/clogin -c'show clock' test-c3560-48-sw.mydomain -- <font color="#33cc00">worked</font></span></span><br>
<br>Thank you,</div>
<div> </div>
<div>Oglumavd</div>
<div> </div>
<div class="gmail_quote">On Wed, Dec 31, 2008 at 10:29 AM, Mike Ashcraft <span dir="ltr"><<a href="mailto:mashcraft@omniture.com">mashcraft@omniture.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Your test command line needs some work. For example, clogin is trying to connect to the routers 'show clock' and 'log'.</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Start by removing all spaces between the -c and the command string. You also need to set a value for the timeout or remove the -t option. Your output redirection needs some work as well, you can test without it.</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">For example:</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">/var/lib/rancid/bin/clogin -t30 -c'show clock' test-c3560-48-sw.mydomain</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Hope that helps,</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Mike</span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p><b><span style="FONT-SIZE: 10pt">From:</span></b><span style="FONT-SIZE: 10pt"> <a href="mailto:rancid-discuss-bounces@shrubbery.net" target="_blank">rancid-discuss-bounces@shrubbery.net</a> [mailto:<a href="mailto:rancid-discuss-bounces@shrubbery.net" target="_blank">rancid-discuss-bounces@shrubbery.net</a>] <b>On Behalf Of </b>Oglum AVD<br>
<b>Sent:</b> Tuesday, December 30, 2008 11:14 PM
<div class="Ih2E3d"><br><b>To:</b> <a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a><br><b>Subject:</b> [rancid] Re: Rancid with Cisco ACS 4.x Issue</div></span>
<p></p></p></div>
<p> </p>
<div>
<p>Here's latest update on this;</p></div>
<div>
<div></div>
<div class="Wj3C7c">
<div>
<p> </p></div>
<div>
<p>/var/lib/rancid/bin/clogin -t -c 'show clock' <a href="http://test-c3560-48-sw.mydomain.com/" target="_blank">test-c3560-48-sw.mydomain.com</a> log 2>&1 <br>show clock</p></div>
<div>
<p><strong>Error: no password for show clock in /root/.cloginrc.</strong><br><a href="http://test-c3560-48-sw.mydomain.com/" target="_blank">test-c3560-48-sw.mydomain.com</a><br>spawn ssh -c 3des -x -l ddnetman <a href="http://test-c3560-48-sw.mydomain.com/" target="_blank">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></p></div>
<div>
<p> </p></div>
<div>
<p><strong>Password Verification:</strong><br>nano .cloginrc<br>add autoenable *.<a href="http://mydomain.com/" target="_blank">mydomain.com</a> 1<br>add user *.<a href="http://mydomain.com/" target="_blank">mydomain.com</a> testacc<br>
add password *.<a href="http://mydomain.com/" target="_blank">mydomain.com</a> password<br>add method *.<a href="http://mydomain.com/" target="_blank">mydomain.com</a> {ssh}</p></div>
<div>
<p> </p></div>
<div>
<p><strong>Test ssh from this device to switch;</strong><br><a href="mailto:root@804" target="_blank">root@804</a>:~# ssh -l testacc <a href="http://test-c3560-48-sw.mydomain.com/" target="_blank">test-c3560-48-sw.mydomain.com</a><br>
<a href="mailto:testacc@test-c3560-48-sw.mydomain.com's" target="_blank">testacc@test-c3560-48-sw.mydomain.com's</a> password: <br><a href="http://test-c3560-48-sw.mydomain.com/" target="_blank">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/" target="_blank">test-c3560-48-sw.mydomain.com#</a><br>it works OK.</p></div>
<div>
<p> </p></div>
<div>
<p>using Cisco ACS 4.x and ACS local account.</p></div>
<div>
<p>Any suggestion?</p></div>
<div>
<p> </p></div>
<p> </p></div></div></div></div></blockquote></div><br>