I'm getting an error message when attempting to ssh into my ec2 instance after installing updates and rebooting: my connection gets refused. I'm wondering if the problem is related to some changes I made to
/etc/fstab, where I added lines mounting directories in other places, changes I had also made to a local machine which caused it to boot up in emergency mode at one point.
When I run
ssh -vvv -i path/to/pem.pem email@example.com, I'm getting the following response (replaced actual IP address with 'w.x.y.z'):
OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g 1 Mar 2016 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: resolving "w.x.y.z.us-west-1.compute.amazonaws.com" port 22 debug2: ssh_connect_direct: needpriv 0 debug1: Connecting to w.x.y.z.us-west-1.compute.amazonaws.com [w.x.y.z] port 22. debug1: connect to address w.x.y.z port 22: Connection refused ssh: connect to host w.x.y.z.us-west-1.compute.amazonaws.com port 22: Connection refused