auto start sshd at boot time

Post date: May 20, 2013 11:11:6 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