Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

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

Your Answer

 
discard

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.