I'm trying to set up and configure SSH on a Natty Narwhal server. I've never done this before and have just been following instructions from the hosting service on how to do it. All was going well so far -- I set SSH permissions and changed the default SSH configuration. I'm now trying to set up a firewall and restart SSH, but I get an error when I try to run either:
sudo service ssh restart
I get an error stating:
Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g., service ssh reload. Since the script you are attempting to invoke has been connected to an Upstart job, you may also use the reload(8) utility, e.g., reload ssh reload: Unknown instance.
I can't figure out how to fix this! Everything seems to suggest that "service ssh restart" should fix it -- but it's not working. Help!