cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
242
Views
0
Helpful
1
Replies

an issue when login via ssh public-key. i login without password

azahmed887
Level 1
Level 1

Hello Engineers , 

I have cisco switch C1000 with IOS 15.2 . and i configure ssh with public-key 

But when i need to login to switch via ssh i enter via private-key and my username and then i login directly to switch 

without enter my password . why is that ? how i can to login must enter my username and password 

1 Reply 1

Richard Burts
Hall of Fame
Hall of Fame

We need more information to be able to understand your issue. Please post the output of the command show ip ssh. It would be helpful if you post the current running config (with sensitive information obscured). If you do not want to post the complete config then please post the output of these:

show run | section aaa

show run | begin line vty

HTH

Rick

Review Cisco Networking for a $25 gift card