When I type in service sshd restart
I get a sshd: unrecognized service
error.
I do have, in /etc/ssh/
a file sshd_config
that I use to set config. I can also putty into the Ubuntu box (it is remote).
When I type in /etc/init.d/sshd restart
I get No such file or directory
Under /usr/sbin/
there is an sshd file, but it is binary.
Is something wrong with my sshd? What do I do to fix this? To be clear, I want to be able to type service sshd restart
(like all the online tutourials say) to be able to, well, restart my sshd. So that my port changes take effect.
ls /etc/init.d | grep ssh