10-10-2023
04:45 PM
- last edited on
10-10-2023
04:50 PM
by
shule
I've got a C9300 IOS-XE ver 17.6.4. I can SSH into it no problem with my original 'admin' username. But I've created another username with privilege 15 and I cannot login with it- failed authentication.
I know I'm missing something simple but I can't find it.
Config snippet:
aaa new-model
!
aaa authentication login default local
username userx privilege 15 secret X.X.X
ip ssh time-out 60
ip ssh authentication-retries 2
ip ssh version 2
line vty 0 4
privilege level 15
logging synchronous
transport input ssh
line vty 5 15
privilege level 15
logging synchronous
transport input ssh
line vty 16 31
transport input ssh
Thanks for any help.
FJM
10-10-2023 09:46 PM
Hello @frankjmurray3,
Please under configure terminal:
aaa authorization exec local
And add under vty lines:
login authentication default
10-10-2023 11:12 PM
Hmm' interesting.
Can you access using different PC
10-11-2023 12:47 PM
I figured it out- fat-fingered the password in the config. Must have done it twice, because I tried re-entering it once.
Thanks for replying.
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