I am getting the error below after I imported an Image into an AMI. The server lets me login local still but only occurs after I upload it to AWS. I read a lot about the /etc/deny but that is not a problem.
ssh_exchange_identification: read: Connection reset by peer
Below is what I get when I use -vvv trying to ssh.
debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 52: Applying options for * debug2: resolving "mydns.amazonaws.com" port 22 debug2: ssh_connect_direct: needpriv 0 debug1: Connecting to mydns.compute-1.amazonaws.com [myip] port 22. debug1: Connection established. debug1: key_load_public: No such file or directory debug1: identity file glassratner.pem type -1 debug1: key_load_public: No such file or directory debug1: identity file mycert.pem-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_7.5 ssh_exchange_identification: read: Connection reset by peer
Thanks in advance.