- Newest
- Most votes
- Most comments
Hi,
Check the basics: Make sure your internet is working and you're using the right username, private key, and port (usually 22) for SSH.
Reboot the VPS: If you have access to a web console provided by your VPS host, try restarting the server. This might stop your script, but it could also bring back SSH access.
Troubleshoot link: https://medium.com/@getstaked/how-to-connect-to-your-vps-via-ssh-by-using-mobaxterm-f403c6d3727b
Hello.
What EC2 instance type are you using?
Also, what kind of shell script did you run?
I think that depending on the executed shell script, EC2 may stop working due to the load.
If you are unable to connect to EC2, you may be able to connect by rebooting as described in the troubleshooting document below.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshoot-unreachable-instance.html
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-reboot.html
Relevant content
- asked 2 years ago

If you are using a Lightsail instance, you may be able to connect by restarting it in the same way. https://repost.aws/knowledge-center/lightsail-instance-failed-status-check
I can monitor the Metric, by seeing the result, I',m sure that my script is running but the problem is accessing to the EC2 neither by direct SSH from my Ubuntu and Win10 nor with the web console
Have you restarted the instance? By the way, please note that if you do not set ElasticIP, the IP address of the instance will change when you restart it.