Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Switch username/password problem

Can someone please tell me why the attched config gives me only a Password: prompt when I SSH to it? It originally had a password on line vty 0 4.

1 ACCEPTED SOLUTION

Accepted Solutions
VIP Super Bronze

Switch username/password problem

Under the vty lines add login local:

line vty 0 4

exec-timeout 0 0

login local

transport input ssh

And test again.

HTH

4 REPLIES
VIP Super Bronze

Switch username/password problem

Under the vty lines add login local:

line vty 0 4

exec-timeout 0 0

login local

transport input ssh

And test again.

HTH

New Member

Switch username/password problem

I use AAA and login authentication admin under line vty 0 4 on all my routers and have never run into this problem. I'll try login local and let you know what happens.

New Member

Switch username/password problem

This just keeps getting better. The only option for the login command is authentication. No local.

New Member

Switch username/password problem

OMFG I'm an idiot. The reason I wasn't getting a username prompt when using SSH to get to the switch is because I was coming from a router. The switch was using the router's username so I just needed to supply the password.

201
Views
0
Helpful
4
Replies