access to enable mode via SSH without password ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2024 02:01 PM
- Labels:
-
AAA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2024 02:06 PM
if you use AAA then this issue can solved but I need to see config first
MHM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 12:46 AM
hello
yes we have aaa server local configured is the router
aaa new-model
aaa local authentication attempts max-fail 5
!
!
aaa authentication login default local
!
BR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 12:54 AM
the user have privilege set ? i.e. the local user it enter like below
username xxx privilege 15 password xxx <<-
if not add new user and set it privilege to 15 and check again
MHM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 01:28 AM
hello
yes user privilege 15 already aded and the site is far from here so i can't access with the console
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 04:05 AM
hello
is there any solution to get in privileged exec mode ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 04:19 AM
There is
Aaa authorization exec defualt local
This command check the privilege for user in local dB to make user enter level 15 directly no need enable.
But you need to be careful
Dont wr the config until you sure that this command help you if it reject access to router via console then you can reboot and return to previous point before add the command.
If you wait me I need to do some lab and share result here.
MHM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 04:31 AM
We are enable to execute any command because we are in user-exec mode. The command you just gave us doesn't work. Is there a workaround ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 04:36 AM
You need also additional to previous command
line vty 0 4
authorization exec defualt
Other solution is use
Line vty 0 4
Privilege 15 <<- this make any user access level 15
Hope this what you looking for
MHM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 02:56 PM
any update ?
MHM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 01:45 AM
hello
no update i can't execut that commande this mode "Router>"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 07:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2024 02:25 PM
thank you @MHM Cisco World
i'm stucked in User exec mode mode tomorrow i will give you feedback
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 06:30 AM
It's time to drive out there.
