SSH超时到Gentoo AMI(Amazon EC2)

我创build了一个Gentoo AMI的新实例( Gentoo_64-bit-EBS-2012-03-02-07-39-15 (ami-6ab26f03) )。

两个状态检查都已通过(系统和实例可达性均已通过)。

我知道密钥对名称是正确的,因为我使用了相同的密钥连接到默认的Amazon Linux( amzn-ami-2011.09.2.x86_64-ebs (ami-1b814f72) )。

这就是SSH的详细模式所说的(用99.99.99.99代替IP信息)

 hobbes3@hobbes3:~/.ssh$ ssh -v [email protected] OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011 debug1: Reading configuration data /Users/hobbes3/.ssh/config debug1: Applying options for * debug1: Reading configuration data /etc/ssh_config debug1: Applying options for * debug1: Connecting to ec2-99-99-99-99.compute-1.amazonaws.com [99.99.99.99] port 22. debug1: connect to address 99.99.99.99 port 22: Operation timed out ssh: connect to host ec2-99-99-99-99.compute-1.amazonaws.com port 22: Operation timed out 

有什么我可以做,看看问题可能是什么? 因为操作超时是一个非常模糊的输出。

这听起来像是一个防火墙问题。 你可以validation端口22是否在你的实例上打开? 我从来没有使用Amazon作为提供者,但是我发现了一些关于创build安全组的说明,这听起来像是正确的方向。