Link to home
Start Free TrialLog in
Avatar of Dragon0x40
Dragon0x40

asked on

Username option -l using ssh and putty

I was trying to ssh to a switch from an open putty session on my current switch but I just typed "ssh x.x.x.x" and all I got was a password prompt. When I entered my password it was not accepted. I tried several times.

My TACACS account was locked out.

I should have been typing "ssh -l my_username x.x.x.x" pressing enter and then entering my TACACS password.

My question is how did TACACS know to lock out my account if I was not putting my username in the ssh command?

And if TACACS did know my username then why would it not accept my password?
ASKER CERTIFIED SOLUTION
Avatar of Ernie Beek
Ernie Beek
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dragon0x40
Dragon0x40

ASKER

I only have one username and one password that I use for TACACS. I am not sure how the switch would get a different username. Is there a default username when you don't specify one? If so why was my TACACS username locked out?