I always log in to my server(Amazon EC2) by: ssh -i blahblah.pem firstname.lastname@example.org This morning the server asked for a password which I never set.
I thought this could mean either my key(pem file) is corrupted somehow. Asked a friend to log in from another computer with his own copy of the pem file, he had the same problem.
Totally confused why this would happen all of a sudden, but I remembered I did this last night (which I thought was unrelated.):
/root had permissions 700.
chmod 770 root
then put it back by
chmod 700 root
made a mistake, but thought it would have no effect though.
Any suggestions to logging to my server? I am very confused by this, and I cannot create a new .pem file for my amazon ec2 instance. Thanks for the help!