Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
1  
Clear your ssh logfile if it exists.I mean your auth.log. –  karthick87 Dec 11 '10 at 20:19
add comment

2 Answers

up vote 13 down vote accepted

/var/log/auth.log

Search for "Invalid user"

share|improve this answer
add comment

/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
add comment

Your Answer

 
discard

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.