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.

link|improve this question

75% accept rate
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
feedback

1 Answer

up vote 4 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'?

link|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
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.