Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

If I select rescue mode in GRUB, ssh is not run. I have to type start ssh to have it running. Can I made this be done automatically for me?

Typical situation is with broken graphics, when I need to login to the box remotely. Now, I have to type start ssh blindly first and hope.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

When your system starts into the rescue mode, it uses the so called single user mode. This is runlevel 1. You'll find all programs which start here in /etc/rc1.d (starting with S).

You have to add ssh to runlevel 1. You can do this by making a symlink from /etc/init.d/ssh to /etc/rc1.d/S99ssh. The command update-rc.d assists you here. If you need a graphical program you can use bum (boot up manager).

share|improve this answer
Not sure if your answer applies to upstart (check page title and tags), but with ubiquitous systemd now, usptart is obsolete anyway. Thanks for answer. – eudoxos Oct 18 at 10:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.