Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I've just installed Fedora 18, and trying to configure sshd - I used chkconfig but this is only starting sshd when a user is logged in. How do I change so that sshd starts on system boot?

share|improve this question
3  
It seems the documentation may be lagging behind the release. Does the Fedora 17 method work? systemctl enable sshd.service –  Christopher Jan 18 '13 at 2:08
    
@Christopher yes, thanks. Want to add this as answer? –  David John Smith Jan 18 '13 at 2:44
1  
chkconfig should be forwarded to systemctl and just work. What do you mean by "only starting when a user is logged in"? –  mattdm Jan 18 '13 at 15:39
    
@mattdm I mean that I was not able to ssh in to the machine until the user had logged in. I thought it was to do with run level, however I'm a noob and could be mistaken –  David John Smith Jan 19 '13 at 2:48
1  
@David That's very strange.... Oh! Was the network user controlled? It's possible that the net was only up when someone was logged in. –  mattdm Jan 19 '13 at 3:24

1 Answer 1

up vote 4 down vote accepted

Try the Fedora 17 method...

systemctl enable sshd.service
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.