Cannot connect to Lightsail FreeBSD instance created from snapshot

0

I run in this problem with a production instance and also reproduced it with a newly created instance:

  1. created a new Lightsail instance with FreeBSD as OS
  2. tried to connect via web SSH → connected successfully
  3. created a snapshot from the instance
  4. created a new instance from the snapshot
  5. tried to connect to the new instance via web SSH → connection impossible

When trying to connect, either from the web SSH or from my computer, I don't get any error message, it just continues to try connecting until it eventually times out.

I compared the informations about the 2 servers using aws lightsail get-instances and could not find any suspicious differences between the servers.

This is a serious issue, as I'm probably not the only one relying on daily snapshots for backup: it turns out they might be completely useless.

已提问 10 个月前241 查看次数
1 回答
0

It is possible that sshd is not running.
What happens if I set the startup script to run the following command when booting from a Lightsail snapshot?

sudo /etc/rc.d/sshd start
profile picture
专家
已回答 10 个月前

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

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

回答问题的准则