Installation

ssh: Permission denied (publickey)

Re: ssh: Permission denied (publickey)

by Danny Glin -
Number of replies: 0

If you made changes that caused the key file on the server to be inaccessible then you won't be able to ssh into that account.  If there is another administrator account on your server that you have the password or key for then you can log into that and fix the permissions.  Otherwise you'll have to use the AWS console to restore access.  One of the following may help: