I tryed to install any programs in my instance and one of the configurations was to create a public key without password in ssh.
I installed the following programs: java, gcc, icc and ifort (intel), mpich2, wgrib2, netcdf. After, I exit of the instance and when I tryed connect again, receive the following message:
"ssh_exchange_identification: read: Connection reset by peer"
And now:
"ssh: connect to host 104.197.101.25 port 22: Connection refused"
And the output of the ssh is this:
"OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 104.197.101.25 [104.197.101.25] port 22.
debug1: connect to address 104.197.101.25 port 22: Connection refused
ssh: connect to host 104.197.101.25 port 22: Connection refused"
Any idea about what is happening?