05-05-2016 08:19 AM - edited 03-08-2019 05:37 AM
HI,
I am trying to enable ssh on my cisco 3850 switch. When i changed to aaa new-model and i try to ssh to the switch i get the username prompt and then i put in the username. the first thing it says is "Using keyboard-interactive authentication." then it prompts me for password. I put the password in and it takes me to usermode. Then when I type en to get to enable mode it gives me the following error. "% error in authentication. Currently the only way i can access privileged mode is by the console. We do not have a tac+ server. We are just use local. I tried to do some research and used the command aaa authentication enable default local in global config and that did not change anything. Any Ideas what i am missing.
Solved! Go to Solution.
05-05-2016 11:20 AM
Hi,
Try these commands and test again:
username <username> privilege 15 password 7 <password>
aaa new-model
aaa authentication login default local
aaa authentication enable default enable
HTH
05-05-2016 11:20 AM
Hi,
Try these commands and test again:
username <username> privilege 15 password 7 <password>
aaa new-model
aaa authentication login default local
aaa authentication enable default enable
HTH
05-05-2016 11:37 AM
Thanks that was it. Works as expected now.
05-05-2016 12:24 PM
Actually I also had to issue the following command to stop the keyboard interactive message.
no ip ssh server authenticate user keyboard
and then I had forgotten to create the enable secret command. once I did that all was good.
05-05-2016 12:30 PM
Glad to know it is all working now.
Thanks for the rating!
10-12-2023 12:38 PM
Hello Reza Sharifi, I am facing with the same issue as below. When I access the SW by consol and after login with local admin and password i get this below mode and I am not able to change the configuration. the Switch is in stack configuration. Looking for your advice.
SW-9500-01>en
Error in authentication.
WS-9500-01>?Error: Licensing infrastructure is NOT initialized.
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