<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'm sure they're the same). I'm still stumped, but at least everything seems to be working. I'll still post the commands just in case there's something obviously wrong that'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 'Reservations[0].Instances[0].PublicIpAddress'</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"><<a href="mailto:jschauma@stevens.edu" target="_blank">jschauma@stevens.edu</a>></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 <<a href="mailto:batkinso@stevens.edu">batkinso@stevens.edu</a>> wrote:<br>
> I've been completely unable to ssh into any instances for a couple of<br>
> days now.<br>
<br>
</span>If you keep getting "connection timed out" even if the 'aws ec2<br>
describe-instances' 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're connecting.<br>
<br>
How did you create the instances? Show us the exact commands as well as<br>
the output of 'aws ec2 describe-security-groups'.<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>