<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 3, 2015, at 09:24, Aaron Howard <<a href="mailto:archanoid@gmail.com" class="">archanoid@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><p dir="ltr" class="">When you created the instance did you generate a key pair? Did you download the private key? When you say into an ec2 instance you have to use the private key you set the instance up with. Check that.</p></div></blockquote><br class="">Yes, sorry I should have mentioned that. I have the private key. The ssh debug output suggests I'm not even getting to the stage where I would submit an authentication key.<br class=""><div><br class=""></div><div><div>$ ssh -vvvvv <a href="mailto:ec2-user@52.4.7.x" class="">ec2-user@52.4.7.x</a></div><div>OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011</div><div>debug1: Reading configuration data /Users/rhornsby/.ssh/config</div><div>debug1: Reading configuration data /etc/ssh_config</div><div>debug1: /etc/ssh_config line 20: Applying options for *</div><div>debug1: /etc/ssh_config line 102: Applying options for *</div><div>debug2: ssh_connect: needpriv 0</div><div>debug1: Connecting to 52.4.7.x [52.4.7.x] port 22.</div><div>debug1: connect to address 52.4.7.x port 22: Operation timed out</div><div>ssh: connect to host 52.4.7.250 port 22: Operation timed out</div></div><div><br class=""></div><div>Adding "-i /path/to/private_key" to the ssh command makes no difference at this point.</div><br class=""><blockquote type="cite" class=""><div class="">
<br class=""><div class="gmail_quote"><div dir="ltr" class="">On Fri, Jul 3, 2015, 10:22 AM Rick Hornsby <<a href="mailto:richardjhornsby@gmail.com" class="">richardjhornsby@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there some secret trick to logging into your ec2 Linux instance for the first time? I've never used ec2 before, so I must be missing something obvious but I've been fighting with it since last night.<br class="">
<br class="">
$ ssh <a href="mailto:ec2-user@52.4.7.xxx" class="">ec2-user@52.4.7.xxx</a><br class="">
ssh: connect to host 52.4.7.xxx port 22: Operation timed out<br class="">
<br class="">
That's all I've been able to get it to do. A few answers to questions I've seen on interweb threads:<br class="">
<br class="">
* Outbound ssh from the same [client] host ^ works just fine to anywhere else<br class="">
* ssh with -vvvvv shows the same thing - the connection times out before anything else (auth etc) happens<br class="">
* The "security group" rules are:<br class="">
Security Groups associated with i-e701bxxx<br class="">
Ports Protocol Source ssh anywhere (<- my label)<br class="">
22 tcp <a href="http://0.0.0.0/0" rel="noreferrer" target="_blank" class="">0.0.0.0/0</a> ✔<br class="">
-1 icmp <a href="http://0.0.0.0/0" rel="noreferrer" target="_blank" class="">0.0.0.0/0</a> ✔<br class="">
* The instance has a public IP address (or it at least appears to)<br class="">
* I have the same issue when using the Amazon java ssh client, so it doesn't seem to be client specific<br class="">
* I don't think this this an authentication problem (ssh keys, etc) because I'm not even getting that far<br class="">
* ssh from different sources/hosts/networks is the same result, so the problem looks like the instance.<br class="">
<br class="">
<br class="">
The VPC ID and Subnet ID are just a random string, have no idea what they're supposed to be. I've tried leaving them at their defaults, I've tried new instances and changing the values - same results.<br class="">
<br class="">
Any suggestions or thoughts on what I might be doing wrong?<br class="">
<br class="">
My alternative is to pay DH $15/month for a virtual private server. I like DH and rave about them, but don't want to pay $15/month for the same size thing I can get at EC2 for free.<br class="">
<br class="">
thanks!<br class="">
_______________________________________________<br class="">
colug-432 mailing list<br class="">
<a href="mailto:colug-432@colug.net" target="_blank" class="">colug-432@colug.net</a><br class="">
<a href="http://lists.colug.net/mailman/listinfo/colug-432" rel="noreferrer" target="_blank" class="">http://lists.colug.net/mailman/listinfo/colug-432</a><br class="">
</blockquote></div>
_______________________________________________<br class="">colug-432 mailing list<br class=""><a href="mailto:colug-432@colug.net" class="">colug-432@colug.net</a><br class="">http://lists.colug.net/mailman/listinfo/colug-432<br class=""></div></blockquote></div><br class=""></body></html>