跳至内容

can't connect lightsail terminal both connect using ssh and local computer with ssh key

0

I can't open the lightsail terminal. I clicked connect using SSH button just does not connect. I don't really understand. Just show it below Enter image description here

And I try to connect from local showed Time Out. Enter image description here

已提问 3 年前462 查看次数

2 回答
0

Hello!

Here are some troubleshooting steps you can consider:

  • Ensure that your Lightsail instance is running.
  • Make sure that SSH (port 22) is allowed with "Allow Lightsail browser SSH" option for your case.
  • Ensure that you are using the correct private key that corresponds to the public key associated with your Lightsail instance.
  • Did you try in another network? Sometimes, network interruptions or strict corporate firewalls can interfere with SSH connections.
  • Did you try another browser?

I hope this helps! If this solution works for you, please accept the answer. Otherwise, do leave a comment, and I'll try to assist you with other ideas.

专家

已回答 3 年前

0

Vitor's prior suggestions look sound. One consideration is this -- is your instance currently functional? If not, you may be breaching your CPU credits and causing your instance to throttle which will interfere with its various tasks including ssh. You can check on this by following this documentation: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-viewing-instance-burst-capacity

AWS
审核人员

已回答 3 年前

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

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