cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13238
Views
1
Helpful
8
Replies

"error in authentication" - can't get into priviledged mode

wavess
Level 1
Level 1

Hi All

 

Just setup a switch for remote access.  did the following:

 

ip ssh v2

ssh input on vty lines

crypto key generate rsa modulus 2048

username xxx password xxx

 

i can get into the switch using ssh and the vlan interface ip address.  i cannot get into priviledged mode.  it says "error in authentication."  thoughts on what i need to do to make this work?  thanks.  this is a cisco 1000 switch.  the switch is new as of 2 months ago.

1 Accepted Solution

Accepted Solutions

wavess
Level 1
Level 1

solved.  i needed to enter the "enable secret XXX" command into the switch from config t mode.  now i can ssh into the switch.  thanks for the help everyone.

 

i still have one question remaining.  i have a username test1234 priv 15 secret password1234.  when i go to log into the switch, it does not go straight into privileged mode.  wondering why this is the case.  i thought it would since i set the priv mode to 15....thoughts?

View solution in original post

8 Replies 8

Hello,

 

Can you try the following command:

 

enable password <password>

 

Then try to log in with:

 

enable

 

"password you set with enable command"

 

 

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3650/software/release/3e/consolidated_guide/configuration_guide/b_consolidated_3650_3e_cg/b_consolidated_3650_3e_cg_chapter_01001011.pdf

 

 

-David

enable password "xxxx"

wavess
Level 1
Level 1

I do have the commands in the running config that say:

 

username admin priv 15 secret XXXXXXX

 

does this make the "enable password" command not necessary?  

enable is necessary.

I don't believe so. I think you still need it to access that mode.

wavess
Level 1
Level 1

haven't gotten back to the remote site yet.  will try to get there this week and report back. 

 

i will add the command "enable password XXX" and see if that works.

wavess
Level 1
Level 1

solved.  i needed to enter the "enable secret XXX" command into the switch from config t mode.  now i can ssh into the switch.  thanks for the help everyone.

 

i still have one question remaining.  i have a username test1234 priv 15 secret password1234.  when i go to log into the switch, it does not go straight into privileged mode.  wondering why this is the case.  i thought it would since i set the priv mode to 15....thoughts?

rolenk
Cisco Employee
Cisco Employee

This solved my issue as well. Thank you!

 

Review Cisco Networking for a $25 gift card