cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
944
Views
0
Helpful
15
Replies

Enable password is not working via SSH

jdurgam
Level 1
Level 1

Enable password is not working via SSH

I have configured Enable password but am not getting into prompt directly getting into enable mode for the same am attaching the images for reference.

Config

HYD-TBAL-P1STORES-SW1#sh running-config | include enable
enable secret 9 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
enable password 7 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
snmp-server enable traps memory bufferpeak
snmp-server enable traps config-copy
snmp-server enable traps config
snmp-server enable traps cpu threshold

login as: jdurgam
Pre-authentication banner message from server:

End of banner message from server
Keyboard-interactive authentication prompts from server:
| Password:
End of keyboard-interactive prompts from server

There have been 4 successful attempts in the past 1 hours

HYD-TBAL-P1STORES-SW1#

 

1 Accepted Solution

Accepted Solutions

Hello
apply the following and test again, remove anything else on the vty lines other then what is below

sw
conf t
username TEST password  test123
enable secret secret123

line vty 0 4
login local
transport input telnet ssh

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

15 Replies 15

Hello

the enable secret will over ride the enable password - the two are mutually exclusive to each other 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

HI Paul,

 

I have removed the enable password i kept only enable secret but still not working.

Can I see all SW config 

MHM

Hi MHM

find below configuration.

Helllo
whars not working -ssh or the enable secret  or both  -are you using local user access or just exec password login

enable secret xxx
line vty 0 4
transport input ssh telnet
password xxxx 
or
login local

 

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

HI 

Am using SSH to logon and am using local user access only.

And  tried that you mentioned commands on above comment still it is not working.

Hello
So what is not working?

  • SSH
  • local access to exec mode
  • privileged exec mode (enable)

Edited: just noticed HYD-TBAL-P1STORES-SW1#
which means you have access into privileged exec mode so I dont understand what isn working, can you elaborate?


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

HI,

yes am able to enter into the privileged exec mode without password prompt.

Am able to access switch using SSH but am going directly in to the Global configuration mode after giving local user credentials.

but need privilege mode password prompt to access it.

Friends if you use local username and specify privilege 15 then when access you can directly to level 15 

You need to add new user without level 

Then try access via ssh/telnet

MHM

hi MHM 

I have created new user without privilege but am unable login find attached config file.

That not all config 

and I see you try 4 failed attempts

Then check 

Show login 

Maybe you enter to quite mode in which ypu need to wait specfic time before try again 

MHM

Hi MHM 

I TRIED AFTER SOME TIME STILL AM UNABLE LOGON 

 did you use same username ?

Try access via telnet not ssh and check if you can access 

MHM

Hello
apply the following and test again, remove anything else on the vty lines other then what is below

sw
conf t
username TEST password  test123
enable secret secret123

line vty 0 4
login local
transport input telnet ssh

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card