AWS EC2 Connection closed by when trying ssh into instance
问题 recently I set up a new EC2 instance. The next day I was not able to connect to my instance via ssh. I could connect and disconnect the day before, I swear I did nothing. here is ssh debug info: ssh -i webserver.pem -v ubuntu@my.elastic.ip OpenSSH_5.9p1, OpenSSL 0.9.8r 8 Feb 2011 debug1: Reading configuration data /etc/ssh_config debug1: /etc/ssh_config line 20: Applying options for * debug1: Connecting to my.elastic.ip [my.elastic.ip] port 22. debug1: Connection established. debug1: identity