Today, I locked myself out of a remote machine. Again… An SSH misconfiguration this time. I was sure I had placed the public keys in the correct place for the new user. I was sure that the permissions were set correctly, so it would be safe to disable remote root login that the default instance came setup with.