How do I start the SSH server on Fedora?
Author: Deron Eriksson
Description: This tutorial demonstrates how to start the SSH server on Fedora.
Tutorial created using: Fedora 12


On Fedora, the status of the SSH server can be determined via:

service sshd status

The service can be started by:

service sshd start

The service can be stopped by:

service sshd stop

The status and start commands are demonstrated below:

Checking the status of the SSH server and starting it

The system can now be connected to remotely via an SSH client, such as PuTTY for Windows.

Connecting to the Fedora SSH server

As demonstrated here, I am able to successfully log on to the system.

Logged on to Fedora via SSH

If you'd like the SSH server to start up when the system starts up, you can do so via the "chkconfig" command. The following command lists the runlevels that the sshd daemon will be started at.

chkconfig --list sshd 

The following command sets the runlevels of the sshd daemon to 2, 3, 4, and 5.

chkconfig --level 2345 sshd on

The "chkconfig --list sshd" command execution is shown here:

chkconfig --list sshd