Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I have accidentally typed my password in SSH's interactive username prompt. Are there any log files that I should clear?
Search for "Invalid user"
/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.
last -f /var/log/btmp