5

I read:

But could not fix it: suddenly (after a year of service, no changes on my winscp settings) it gives me "network error connection timed out" (im using ec2-user) (also from the amazon console).

  • Log FILE: http://pastebin.com/vNq6YQvN
  • All Sites that run on it run fine
  • port 22 is allowed (never changed it) (security group)
  • using the correct ec2-user and domain
  • via my winscp / putty i can connect to other hosting (via ssh)

update: SOLVED. I spend 2 days without looking at my own IP address .... (since it did not change the past 3 years....). Your comments made the spark in my brain. thank you so much. (and only now i find dozens of discussions from angry users that the static addresses from my provider are changed to dynamic ones: http://gathering.tweakers.net/forum/list_messages/1501005/12 ...)

3
  • Your post is > 30K character limit and I suspect that some of the information you tried to post has been truncated. Please review your question and attempt to whittle it dow to relvant information. Commented Jul 9, 2012 at 20:32
  • A service such as fpaste.org / pastebin will help here I suspect sshd has not started, but I can't tell as the information provided appears truncated, per Iains comment. Commented Jul 9, 2012 at 20:34
  • updated the logs (made a pastebin account), thanks Commented Jul 9, 2012 at 20:48

2 Answers 2

2

I think your logs are snipped.

Here are the things you need to check

Check if the name you are connecting to is correct. It may have changed and we have no idea about you setup/

Check the security group of the EC2 instance , is SSH allowed by firewall? What about IP

Check in your log files if it copied the SSH Public Key

7
  • "what about IP" made the spark Commented Jul 9, 2012 at 20:59
  • 2
    hah :D so you have the all-spark Commented Jul 9, 2012 at 21:28
  • 2
    im glad there are primes Commented Jul 9, 2012 at 21:35
  • Something similar happened to me before when rebooting an instance. The Elastic IP was disassociated with the server. Commented Jul 10, 2012 at 1:14
  • @David, yeah that happens. I know it happens when you stop the instance. Now with multipe IPs to EC2 this is gonna be one hell of a headache. Commented Jul 10, 2012 at 8:05
0

If it's connection timed out, then it's the problem on the firewall. Check with your desktop, ISP, and home/company firewall, GPO policy, as well the EC2 firewall. Eventually delete and remove each rule so hopefully you will get thru. It clearly says that the sshd is started.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.