Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed 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 SSH.

share|improve this question
Is your home directory encrypted? – Lemb Apr 5 '11 at 22:09
Do you start SSH manually now after each login? – Bart De Vos Apr 5 '11 at 22:12
up vote 5 down vote accepted

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'?

share|improve this answer
Uhm, this might be the problem. I thought it was other thing. So, when i start the server, there's no need to be a user logged in? I'll try. Thanks a lot! – santiago.basulto Apr 5 '11 at 22:20
Hey! It works! Thanks a lot! – santiago.basulto Apr 5 '11 at 22:29

Your Answer


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.