[10:04] <kunal> hello all, i m trying to conf ubuntu server on ec2
[10:04] <kunal> i changed ssh port
[10:05] <kunal> but wen i try to login it gives me Connection Closed error
[10:05] <kunal> what could be the problem?
[10:05] <erichammond> kunal: Did you open the new port in the EC2 security group?
[10:06] <kunal> erichammond, yes
[10:06] <erichammond> Can you still connect on the old port?
[10:06] <kunal> yes.. i didnt log out from my old session :)
[10:06] <erichammond> You can create new sessions on the old port?
[10:07] <kunal> nopes
[10:07] <erichammond> Did you restart sshd? /etc/init.d/ssh restart
[10:07] <kunal> yes
[10:07] <erichammond> Can you telnet to the new port?
[10:07] <kunal> let me check
[10:08] <kunal> yes i can
[10:09] <kunal> erichammond, but ssh still giving same err Connection Closed
[10:10] <erichammond> ssh -v might give more info
[10:13] <kunal> erichammond, SSH2_MSG_KEXINIT sent and connection closed again
[10:16] <erichammond> kunal: You might want to post the entire output to a pastebin and see if somebody has ideas.
[10:17] <kunal_> erichammond, ok.. let me do that
[10:24] <kunal_> ok.. this is what i get: http://pastebin.com/m22c331ce
[10:25] <kunal_> it also say "Reading configuration data /etc/ssh/ssh_config".. so any changes needed in ssh_config too??
[10:41] <kunal_> any clues??
[10:59] <erichammond> kunal_: I'm not sure what's going wrong there.
[11:00] <erichammond> Grabbing some sleep before I take my son to soccer in a few hours.
[11:00] <kunal_> WTF... address was already in use... ubuntu said starting and [OK] ... damn
[11:00] <kunal_> its working now
[11:07] <kunal_> erichammond, thanx :) my mistake .. wondering how its showing [OK] then... read the logs then came to know abt it