I am running ubuntu 13.10 (fresh install). I have installed openssh-server. During the process of trying to troubleshoot a problem with logging in via ssh from another linux system (also running ubuntu) I discovered that stopping and starting the server don't seem to work properly. I have googled the problem extensively and found many (sometimes conflicting) answers. Below are the results for the four methods I have found
root@newton:~# invoke-rc.d ssh stop initctl: Unknown job: ssh root@newton:~# service ssh stop stop: Unknown job: ssh root@newton:~# /etc/init.d/ssh stop root@newton:~# root@newton:~# stop ssh stop: Unknown job: ssh
In no case do I get feedback that indicates the daemon stopped. The same goes for trying to start the daemon. When I look at /var/log/auth.log I see that the daemon apparently stopped multiple times but not because of the above commands. It only stops when I kill it using killall sshd. After which it immediately restarts. Somehow something appears to be completely broken with my system. Does anyone have any ideas on how to sort it out? Thanks for any help.