04-20-2022 11:29 AM
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.
Solved! Go to Solution.
06-01-2022 10:28 AM
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?
04-20-2022 11:40 AM - edited 04-20-2022 11:42 AM
Hello,
Can you try the following command:
enable password <password>
Then try to log in with:
enable
"password you set with enable command"
-David
04-20-2022 11:40 AM
enable password "xxxx"
04-20-2022 12:03 PM
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?
04-20-2022 12:04 PM
enable is necessary.
04-20-2022 12:04 PM
I don't believe so. I think you still need it to access that mode.
04-25-2022 06:31 AM
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.
06-01-2022 10:28 AM
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?
10-11-2024 03:34 PM
This solved my issue as well. Thank you!
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