Cannot ssh after restart
I saw a 'System Restart required' message on my linode and restarted it. After that i have been unable to ping or ssh into my machine. I usually use Putty or Chrome Native Client app to ssh and neither works now.
Here;s the error in my chrome native client app
Loading NaCl plugin... done.
ssh: connect to host 45.79.172.80 port 22: Connection refused
NaCl plugin exited with status code 255.
(R)econnect, (C)hoose another connection, or E(x)it?
I did notice that i restarted via the linode website while logged in via the chrome native client app, and closed the native client tab while the machine was restarting.
Now …
I can login via the Ajax LISH console using my user account.
I can access all my directories and websites.
Apache, mysql are running.
I tried to check my firewall rules: here's some relevant output.
sudo iptables -L -nv | grep 22
54 3084 fail2ban-ssh tcp -- * * 0.0.0.0/0 0.0.0.0/0 multiport
dports 22
0 0 ACCEPT udp -- * * 0.0.0.0/0 224.0.0.251 udp dpt:5353
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:22
sudo iptables -L -nv | grep 80
16 920 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 state NEW
sudo iptables -L -nv | grep 443
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 state NEW
Please let me know if you need any more information.
Appreciate your help.
Thanks,
-vidhya
2 Replies
Does anyone have any suggestions for me to try, please?
I have flushed iptables and followed instructions here to set up ufw
But i still get the same error.
Thanks
-Vidhya