By using AWS re:Post, you agree to the Terms of Use

Locked out of ubuntu server after installing OpenSSL



I just got locked out of my lightsail instance after installing OpenSSL without keeping the Port 22 Open,Now I'm not able to access my instance's FTP or SSH, Is there any possible way to recover the access or allow the port without SSH.

2 Answers
profile picture
answered 8 months ago
  • Lightsail isn't EC2. Probably won't work.


Please check if TCP port 22 is open in the instance's Network settings.

(replace REGION & INSTANCE_NAME with appropriate values):

If the port is open but you still can't SSH in, this means sshd server or some other network configuration is in invalid state. In this case, this article may help:

It shows how to make a disk snapshot and attach a disk created off this snapshot to another instance for data recovery purposes.

answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions