- Mais recentes
- Mais votos
- Mais comentários
Hello.
There are several reasons for this, including the possibility that SSH is blocked by the firewall on the OS side or that the sshd service is not starting properly.
Therefore, I think it would be a good idea to troubleshoot by following the steps described in "An OS-level firewall is blocking SSH port access" in the document below.
https://repost.aws/knowledge-center/lightsail-resolve-ssh-console-errors
- Instance boot failures, instance status check failures. or resource over-utilization on the instance.
- An OS-level firewall is blocking SSH port access.
- The default SSH port (22) is changed to a different one.
- The SSH service is down.
Hi,
As an additional troubleshooting step, could you share the error being returned by your local SSH client that was mentioned in your initial post?
If you still cannot access your instance but can access other new instances not created from snapshots, I recommend creating a snapshot of your unreachable instance's root volume to recover any data on the instance. Once you have this snapshot, you can create a disk and attach it to an instance you can successfully SSH to.
The steps for creating a root volume snapshot and attaching it to a new instance can be found here: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-create-an-instance-root-volume-snapshot
Conteúdo relevante
- AWS OFICIALAtualizada há 8 meses
- AWS OFICIALAtualizada há 7 meses
- AWS OFICIALAtualizada há 2 anos
Dear Riku, Currently, I am unable to connect to the server via SSH due to what appears to be start SSH service?
Does Lightsail's firewall or other settings allow SSH? Also, did you configure the steps in the documentation I shared to run a "launch script" when restoring from a Lightsail snapshot?
I have created the new instance from a Lightsail snapshot. but I still can't open a connection using SSH on the broswer, and I also can't connect Lightsail to PuTTY. I'm so stuck with my work now. Thanks for repying me.
It may be easier to abandon that Lightsail instance and create a new Lightsail instance.
But, sir, I will lose my data from the database. :(