无法再通过 SSH 连接到我的 AWS EC2 实例 - 操作超时错误

无法再通过 SSH 连接到我的 AWS EC2 实例 - 操作超时错误

我正在使用以下命令通过 SSH 连接到我的 AWS EC2 服务器,并且一段时间以来一直运行良好,但是最近它挂起然后超时。

ssh -i "ec2-pro-clubs-server.pem" [email protected] -vT

OpenSSH_9.0p1, LibreSSL 3.3.6
debug1: Reading configuration data /Users/username/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Connecting to ec2-35-178-119-142.eu-west-2.compute.amazonaws.com port 22.
ssh: connect to host ec2-35-178-119-142.eu-west-2.compute.amazonaws.com port 22: Operation timed out

服务器本身仍在运行,而且我没有在本地更改任何 SSH 密钥,因此不确定为什么总是会超时?有人有什么想法吗?

相关内容