You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

无法通过SSH连接AWS EC2实例:Operation timed out错误求助

无法通过SSH连接AWS EC2实例:Operation timed out错误求助

各位大佬,我最近碰到个头疼的问题,想请教下大家。之前一直用下面这条命令SSH连接我的AWS EC2服务器,一直都正常,但最近突然开始卡住,最后直接超时了:

ssh -i "ec2-pro-clubs-server.pem" ubuntu@ec2-35-178-119-142.eu-west-2.compute.amazonaws.com -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密钥,完全搞不懂为什么每次都会超时。有没有大佬能给点排查思路或者解决方案呀?

备注:内容来源于stack exchange,提问作者Zabs

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.20 06:48:06