I have a VPS hosted at a remote location. Obviously the host can login directly (without SSH or any keys) on this box and I want to make brute force password guessing as hard as possible for a bad admin.This leads to the question:
What is the maximum password length for user accounts in Ubuntu?
While questions like "what is the max length of password on unix/linux system?" claim that there is no actual limit with current hash algorithms it looks like there is still some sort of OS limitation though. It accepted my 207 character password and I was able to login again with that, but my 8192 character password cause Ubuntu to crash with the error "event not found" (whatever that means). Interesting enough, I could still login with the 8k password although I get an error each time I login.
Note, that I'm logging in with a 4K RSA SSH key so I don't care about "user friendliness" for manual logins.