I have created AWS lightsail instance for learning purposes. I downloaded the key file and created a public key with it and store it in the .ssh/authorized_keys file.
For the testing, I tried to connect with ssh via my terminal. It was connected and worked fine and I closed the connection and reboot the server.
After reboot the server I tried to connect again with a key file from my terminal and I was not able to log in. I logged in to the AWS console and try to connect from that end and, it was giving me an empty black screen window.
Any suggestions?