Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have accidentally typed my password in SSH's interactive username prompt. Are there any log files that I should clear?

share|improve this question
Clear your ssh logfile if it exists.I mean your auth.log. – karthick87 Dec 11 '10 at 20:19
up vote 13 down vote accepted


Search for "Invalid user"

share|improve this answer

/var/log/btmp contains, in binary form, a log of the details of failed login attempts.

last -f /var/log/btmp will show you the contents of that file, which will likely include your mistake.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.