01-10-2022 12:41 AM - edited 01-10-2022 05:29 AM
The local user level is 15, but after ssh login I still need to enter the enable password, is there any way to ssh login without entering the enable password?
username tempuser privilege 15 password 7 XXXXXXXXXXXX
line vty 0 4
privilege level 15
length 0
transport input ssh
line vty 5 15
privilege level 15
transport input ssh
Solved! Go to Solution.
01-10-2022 04:38 AM
Have you tried adding this?
aaa new-model
aaa authentication login default local
aaa authorization exec default local
HTH
-Jesus
*** Please rate helpful responses ***
01-10-2022 02:53 AM
Hi,
I am having this setting and its not asking enable password while login using ssh.
line vty 0 4
length 0
transport input ssh
transport output ssh
line vty 5 15
transport input ssh
transport output ssh
Regards
Dont forget to rate helpful posts
01-10-2022 05:32 AM
Referring to the gif I just uploaded, I need to enter the enable password on my device
01-10-2022 04:38 AM
Have you tried adding this?
aaa new-model
aaa authentication login default local
aaa authorization exec default local
HTH
-Jesus
*** Please rate helpful responses ***
01-10-2022 05:35 AM
Have tried, but nothing works
01-10-2022 08:26 AM
You did not show your aaa config - did you do what @JPavonM suggested?
No need to set priv on the VTY, that comes from aaa and user config.
07-20-2023 12:01 PM
In my case of lack of access through SSH, I could call port 22, but the admin user did not have CLI access, and these commands solved my problem, thank you very much.
01-10-2022 10:15 AM
If you are not using any TACACS or Radius servers for admin authentication and authorization you can disable aaa in the WLC.
!
no aaa new-model
line vty 0 15
tran input ssh
login local
!
if you are using AAA new model, then you can follow @JPavonM . In case you are using named auth lists, then you need to call it under the line vty.
!
line vty 0 15
authorization exec ISE-TACACS-AUTHORIZATION
login authentication TISE-TACACS-AUTHENTICATION
transport input ssh
!
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