Amazon Lightsail Log in failed – CLIENT_UNAUTHORIZED

When trying to login to Amazon Lightsail instance, I got the error

Log in failed. If this instance has just started up, try again in a minute or two.


Amazon Lightsail connect failed

This happens because when you update the system, you replaced the default /etc/ssh/sshd_config file provided by Amazon AWS.

To fix the error, connect to Lightsail server using SSH (terminal on Linux/Mac, putty on windows), edit file

At the end of the file, add the following 2 lines

Restart ssh service

Now you should be able to login to Amazon Lightsail using AWS Console.

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published.