[rancid] Username sent after login
RMarles at trojanuv.com
Wed Jul 18 12:14:52 UTC 2018
Working with an ASA version 9.8(2), am able to get the login to work, and have the ASA set to auto-enable.
For some reason, the username is sent following the successful login, and I think it's messing up the script - I get the errors 'missed cmd(s)' and 'End of run not found' in the logfiles.
add user <username>
add method <device> ssh
add password <device> <password> (note, no enable pw here)
add autoenable <device> 0
I've tried 'autoenable 1', 'autoenable 0', 'noenable 1', it continues to send the username as follows:
[rancid@<rancidhostname> bin]$ ./clogin <asahostname>
spawn ssh -x -l <username> <asahostname>
THIS IS A PRIVATE COMPUTER SYSTEM. It is for authorized use only.
User <username> logged in to <asahostname>
Logins over the last 2 days: 138. Last login: 07:59:26 EDT Jul 18 2018 from <ipaddress>
Failed logins since the last login: 0.
Type help or '?' for a list of available commands.
ERROR: % Invalid input detected at '^' marker.
Thanks in advance
Please be advised that this email may contain confidential information. If you are not the intended recipient, please notify us by email by replying to the sender and delete this message. The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rancid-discuss