mardi 11 octobre 2016

Can't SSH on EC2 ssh_exchange_identification: read: Connection reset by peer

I was able to ssh before but unknowingly I ran command sudo chmod -R 1777 /var in my current directory my code is placed in /var/app/current

Since then I am facing error ssh_exchange_identification: read: Connection reset by peer if i try to do sudo ssh -i my.pem ec2-user@ip

sudo ssh -i my.pem ec2-user@ip
OpenSSH_6.9p1, LibreSSL 2.1.8
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: Applying options for *

Thanks in advance!

Aucun commentaire:

Enregistrer un commentaire