Take the 2-minute tour ×

I use a VPS with Ubuntu 10.04. After I performed "apt-get upgrade", the ssh daemon stopped working and does not automatically start when I restart my server. I have only access to files (edit, create delete etc.) and no shell access. Could you please help me out with setting up SSH Daemon autostart? Thank you very much.

share|improve this question
maybe this could be handy: blog.roberthallam.org/2010/06/sshd-not-running-at-startup –  maniat1k Feb 6 '12 at 14:21
What happens when you type sudo invoke-rc.d ssh start from the console of the server? –  grifferz Jul 7 '12 at 10:10

1 Answer 1

Try editing /etc/init.d/rc.local and add to the bottom:

sshd &

Then restart the server.

share|improve this answer
This is definitly not the standard solution. I think it would be better to find out why the daemon does not automatically start. –  lumbric Jul 7 '12 at 9:20

Your Answer


