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?
It seems the documentation may be lagging behind the release. Does the Fedora 17 method work? systemctl enable sshd.service – ChristopherJan 18 at 2:08
@Christopher yes, thanks. Want to add this as answer? – David John SmithJan 18 at 2:44
1
chkconfigshould be forwarded to systemctl and just work. What do you mean by "only starting when a user is logged in"? – mattdm♦Jan 18 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 SmithJan 19 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 at 3:24
systemctl enable sshd.service– Christopher Jan 18 at 2:08chkconfigshould be forwarded to systemctl and just work. What do you mean by "only starting when a user is logged in"? – mattdm♦ Jan 18 at 15:39