22:56 - Sunday, 20 April 2014

Autostart SSH After Reboot

#Topics: debian autostart sshd,after reboot ssh

I’ve installed a debian (6.0) on a server. It currently has SSH installed so I can connect from a remote host. The problem is that when I restart it, it shows the screen to log a user in, and can’t connect via SHH.

Is sshd not starting on boot?

update-rc.d ssh defaults

Should put the proper init scripts in place for you. This will allow ssh to start on reboot.

Is this what you mean? If not, what do you mean by ‘when I restart it’, what’s ‘it’?