Locked out of ubuntu server after installing OpenSSL

0

Hi,

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 年前304 查看次数
2 回答
0
profile pictureAWS
专家
kentrad
已回答 2 年前
  • Lightsail isn't EC2. Probably won't work.

0

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

(replace REGION & INSTANCE_NAME with appropriate values):

https://lightsail.aws.amazon.com/ls/webapp/REGION/instances/INSTANCE_NAME/networking

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:

https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-create-an-instance-root-volume-snapshot

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

AWS
审核人员
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则