Hi, I have quite the same problem. Only after a reboot the sshd is running, working and accepting connections.
Whatever I try: stop ssh, restart ssh, start ssh or with service like: service ssh stop/start/restart or with /etc/init.d/ssh, which isn't doing anything. the daemon ist (maybe) started, but NOT accepting connections. the command: start ssh does NOT return. and ssh ist not started/running. I have to press ^C, then the the service is started! wtf?!?! and shows up with: /usr/sbin/sshd -D but in this state it is not accepting connections. I tries all combinations and methods. nothing is working. funny thing: when i start it with: start ssh & the command returns, nothing is really started (ps -ef shows nothing) BUT when i say: service ssh status this happens: ssh start/running, process 11633 ssh start/running, process 11633 [1]+ Done start ssh now sshd ist started AND accepting connections!!!!! this really is a bug! its the only way to start/restart the daemon without reboot :( best regards axel -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1329939 Title: Service ssh stop/start/restart hangs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1329939/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
