Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

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

1 Answer 1

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

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

 
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.