2

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.

eudoxos
  • 939

1 Answers1

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).

qbi
  • 19,515