02-22-2018 08:52 AM - edited 02-21-2020 07:23 AM
I want configure ASA, so it requires local username and password for enable mode.
Command: aaa authentication enable console LOCAL
When I configure this command, I am not able to login even though the following configuration already exists:
username xxxxxx password xxxxxxxxxxxxxxxxxxx encrypted privilege 15
enable password xxxxxxxxxxxxxxxxxx encrypted
when I configure the following it works:
username xxxxxx password xxxxxxxxxxxxxxxxxxx
aaa authentication enable console LOCAL
Question:
Why “username xxxxxx password xxxxxxxxxxxxxxxxxxx encrypted privilege 15” username and password is not used, when configure aaa authentication enable console LOCAL?
02-22-2018 07:01 PM
Hi,
How are you logging on to the firewall initially, via console or ssh\telnet. What asa software version are you using? Are you using aaa authorization?
Thanks
John
02-23-2018 02:24 PM
1. SSH
2. Software Version 9.6(4)3
3. no authorization
02-23-2018 04:12 PM
@Praveen Kumar wrote:
1. SSH
2. Software Version 9.6(4)3
3. no authorization
If you're using ssh, you'll need to do a couple of things.
1. Create a user. (seems like you have this covered already).
2. Enabled ssh for local authentication:
aaa authentication ssh console LOCAL
3. generate the crypto keys for ssh:
crypto key generate rsa modulus <modulus number>
4. allow management access via ssh from a certain interface and network:
ssh 192.168.1.0 255.255.255.0 inside
5. open your terminal emulation software and try to ssh to an ASA interface ip (the one specified in step 4). You should now be able to login.
03-01-2018 01:39 PM
That is not really my question- my question is:
If we already have this (see below) user account, why doesn't it work when we configure "aaa authentication ssh console LOCAL"?
username xxxxxx password xxxxxxxxxxxxxxxxxxx encrypted privilege 15
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide