I can't ssh to my server on AWS ec2 after I made chmod
to home directory of the server(I can't remember exact command I made to the home directory).
When I tried to ssh to my server, I got message like below.
...
Host '????' is known and matches the ECDSA host key.
...
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
...
What should I do?
ssh
is kind of picky about the permissions of its files. If, for example, you have given write access to everyone on theauthorized_keys
file,ssh
will refuse to use the file, making login to the server by keyfile impossible.