cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
868
Views
1
Helpful
3
Replies

Can't SSH into switch with new username

frankjmurray3
Level 1
Level 1

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

3 Replies 3

M02@rt37
VIP
VIP

Hello @frankjmurray3,

Please under configure terminal:

aaa authorization exec local

And add under vty lines:

login authentication default

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Hmm' interesting.

Can you access using different PC

frankjmurray3
Level 1
Level 1

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.