Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

2 Answers 2

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.