我無法從一天訪問AWS EC2實例。
(AMI:Ubuntu的/圖像/ EBS/Ubuntu的精確-12.04-AMD64服務器 - 20121001(AMI-22ad1223))AWS ssh訪問'端口22:操作超時'問題
$ ssh -v -i mykey.pem [email protected]
OpenSSH_5.9p1, OpenSSL 0.9.8x 10 May 2012
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port 22.
debug1: connect to address xxx.xxx.xxx.xxx port 22: Operation timed out
ssh: connect to host xxx.xxx.xxx.xxx port 22: Operation timed out
這是我的 「安全組」,在EC2設置。
我沒有改變從良好的連接時間的設置。
Ports Protocol Source
22 tcp 0.0.0.0/0
80 tcp 0.0.0.0/0
3000 tcp 0.0.0.0/0
3006 tcp 0.0.0.0/0
我試了很多次,重新啓動服務器。
Web服務器進展順利。但是SSH連接不是。
什麼可能是問題,以及如何使它工作?
如果您重新啓動它,您使用的是當前IP地址嗎? – datasage
您是否在安全組上配置了任何出站規則? –
如果連接未從服務器啓動,則出站規則不會阻止通信。但是網絡ACL規則可能會阻止它。 –