<div dir="ltr"><div><div><div>In the ASA version 9.8.X , there are sending out the "Last login: " and the "Last failed Login: " as default. There is no way to disable this.<br><br></div>I tried adding following lines in .cloginrc but no luck:<br><br>add prompt sslvpna {"sslvpna>"}<br>add enableprompt sslvpna {"sslvpna>"}<br></div><br></div>Is there a way to skip login: for this specific device ?<br><div><br></div><div>Thanks<br>-Azher<br><br><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 31, 2017 at 1:19 PM, heasley <span dir="ltr"><<a href="mailto:heas@shrubbery.net" target="_blank">heas@shrubbery.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thu, Dec 28, 2017 at 06:42:46PM -0800, Azher:<br>
<span class="">> Hi All,<br>
><br>
> Our current Cisco ASA devices "ASA5550" , 8.4(7)30, work fine with RANCID.<br>
><br>
> Same config does not work for ASA-5585, 9.8(1). I am not sure why it is<br>
> sending "admin" twice and later it sends "enable" at the prompt .... Any<br>
> suggestions ?<br>
><br>
> add user sslvpnb admin<br>
> add password sslvpnb pass1 pass2<br>
> add autoenable sslvpnb 0<br>
> add method sslvpnb ssh<br>
><br>
> [rancid@rancid ~]$ more var/asa/router.db<br>
> sslvpn1;cisco;up<br>
> sslvpn2;cisco;up<br>
> sslvpna;cisco;up<br>
> sslvpnb;cisco;up<br>
><br>
> [rancid@rancid ~]$ clogin sslvpnb<br>
> sslvpnb<br>
> spawn ssh -c aes128-ctr,aes128-cbc,3des-cbc -x -l admin sslvpnb<br>
> admin@sslvpnb's password:<br>
> User admin logged in to sslvpnb<br>
> Logins over the last 44 days: 29. Last login: 18:09:41 PST Dec 28 2017<br>
> from <a href="tel:68.181.191.19" value="+16818119119">68.181.191.19</a><br>
> Failed logins since the last login: 0. Last failed login: 06:47:32 PST Dec<br>
> 28 2017 from 68.181.191.19<br>
<br>
</span>its sending admin again because it sees "login:" before a prompt. why<br>
is it displaying this?<br>
<span class=""><br>
> Type help or '?' for a list of available commands.<br>
> sslvpnb> admin<br>
> ^<br>
> ERROR: % Invalid input detected at '^' marker.<br>
><br>
> Error: Unrecognized command, check your enable command<br>
> sslvpnb> admin<br>
> ^<br>
> ERROR: % Invalid input detected at '^' marker.<br>
> sslvpnb> enable<br>
> Password:<br>
> Invalid password<br>
> Password:<br>
> Invalid password<br>
> Password:<br>
> Invalid password<br>
> Access denied.<br>
> sslvpnb><br>
><br>
><br>
> Thanks<br>
> -Azher<br>
<br>
</span>> ______________________________<wbr>_________________<br>
> Rancid-discuss mailing list<br>
> <a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
> <a href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss" rel="noreferrer" target="_blank">http://www.shrubbery.net/<wbr>mailman/listinfo/rancid-<wbr>discuss</a><br>
<br>
</blockquote></div><br></div>