<div dir="ltr">Hi,<div><br></div><div>Again, not really sure why but everything seems to be working okay now. I was messing around with it last night but when I went to sleep I was still unable to connect. This morning I got it on my first try with the same commands (I copy and pasted, so I&#39;m sure they&#39;re the same). I&#39;m still stumped, but at least everything seems to be working. I&#39;ll still post the commands just in case there&#39;s something obviously wrong that&#39;s causing it to sometimes work and sometimes not.</div><div><br></div><div>aws ec2 run-instances --image-id ami-1a60f82a --count 1 --instance-type t1.micro --security-group-ids devenv-sg --key-name devenv-key<br></div><div><br></div><div><div>aws ec2 describe-instances --instance-ids i-0fae36915f471378f --query &#39;Reservations[0].Instances[0].PublicIpAddress&#39;</div></div><div><br></div><div><div>ssh -i devenv-key.pem <a href="mailto:ec2-user@52.39.177.196">ec2-user@52.39.177.196</a></div></div><div><br></div><div><div>aws ec2 describe-security-groups returns:</div></div><div><br></div><div><div>SECURITYGROUPS  default VPC security group      sg-6703811f     default 120119680155    vpc-2ebb3449</div><div>IPPERMISSIONS   -1</div><div>USERIDGROUPPAIRS        sg-6703811f     120119680155</div><div>IPPERMISSIONSEGRESS     -1</div><div>IPRANGES        <a href="http://0.0.0.0/0">0.0.0.0/0</a></div><div>SECURITYGROUPS  security group for dev env      sg-f501838d     devenv-sg       120119680155    vpc-2ebb3449</div><div>IPPERMISSIONS   22      tcp     22</div><div>IPRANGES        <a href="http://0.0.0.0/0">0.0.0.0/0</a></div><div>IPPERMISSIONSEGRESS     -1</div><div>IPRANGES        <a href="http://0.0.0.0/0">0.0.0.0/0</a></div></div><div><br></div><div><br></div><div>Thanks,</div><div>Bryana</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 14, 2017 at 12:47 PM, Jan Schaumann <span dir="ltr">&lt;<a href="mailto:jschauma@stevens.edu" target="_blank">jschauma@stevens.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Bryana Atkinson &lt;<a href="mailto:batkinso@stevens.edu">batkinso@stevens.edu</a>&gt; wrote:<br>
&gt; I&#39;ve been completely unable to ssh into any instances for a couple of<br>
&gt; days now.<br>
<br>
</span>If you keep getting &quot;connection timed out&quot; even if the &#39;aws ec2<br>
describe-instances&#39; command shows them as running, then this would<br>
suggest that the network connections are not allowed, possibly because<br>
your security group settings do not permit ssh from the system from<br>
which you&#39;re connecting.<br>
<br>
How did you create the instances?  Show us the exact commands as well as<br>
the output of &#39;aws ec2 describe-security-groups&#39;.<br>
<div class="HOEnZb"><div class="h5"><br>
-Jan<br>
______________________________<wbr>_________________<br>
cs615asa mailing list<br>
<a href="mailto:cs615asa@lists.stevens.edu">cs615asa@lists.stevens.edu</a><br>
<a href="https://lists.stevens.edu/mailman/listinfo/cs615asa" rel="noreferrer" target="_blank">https://lists.stevens.edu/<wbr>mailman/listinfo/cs615asa</a><br>
</div></div></blockquote></div><br></div>