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.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.