I'm having a problem on my remote server (which is in another city) and I can't access it with SSH. I can see that port 80 and 443 is open, but port 22 isn't. I could only assume that sshd didn't start correctly.
I'm now in the system through a rescue disk. Should adding those lines to rc.local
update-rc.d ssh defaults
/etc/init.d/sshd start
get those commands to run at startup? Or is there something else to be done other than adding them?
Thank you.