Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Im trying to get ssh start as the system start so I can putty my way into it remotly.

I've tried sudo update-rc.d ssh defaults but ut says

update-rc.d: using dependency based boot sequencing
update-rc.d: warning: ssh stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (none)

Could anyone tell me what the right command would be?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

You should use the following command to to that:

$ ln -s /etc/init.d/ssh /etc/rc2.d/S18ssh

This creates a symlink from /etc/init.d/ssh to /etc/rc2.d/S18ssh so the computer will start the ssh server during boot.

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.