auto start sshd at boot time

posted May 20, 2013, 4:11 PM by Sachchida Ojha   [ updated May 20, 2013, 4:11 PM ]

How to automatically start sshd (secure shell service) on every system startup on Fedora 16


Fedora 16 is now using systemd. systemd is a system and service manager, it is a replacement for the System V init daemon for Linux. It is intended to provide a better framework for expressing services’ dependencies, allow more work to be done in parallel at system startup, and to reduce shell overhead.

If you want to start sshd manually once, run as root

# systemctl start sshd.service

In order to start it automatically on every system boot, run
# systemctl enable sshd.service

Likewise, you can remove it from system startup
# systemctl disable sshd.service

If you would like to see a list of all available managed services, run
# systemctl -a

Comments