HD Install :: Start SSH on Boot
I have installed DSL onto the HD of a very underpowered machine and it works great! However, I would like to use this machine as a headless one with ssh only.
How do I get ssh to start on boot so that I may use the machine without having a monitor keyboard or mouse plugged in?
Use the cheatcode "ssh" in the boot params. If you use a lilo install and a HD install (not frugal) you can add ssh in /etc/lilo.conf to the "append" line. After that you should run lilo with an option. But I forgot which one. Maybe lilo -h or lilo --help might help.
Another option. Start the daemon from /opt/bootlocal.sh.
Try "sudo which sshd" and if it gives a file as output put the complete line in /opt/bootlocal.sh.
You might need a "&" after the command to put it to the background.
HTH.,
Remco
original here.