Setup ssh server on Fedora Linux platform

It could be useful to set up a SSH server on your Linux box.
For instance, once set up, you can copy files from a Windows machine to your Linux box using ssh/ftp protocol.

It is actually quite easy. Here, we will consider a Fedora box.

The first step is to check whether the openssh-server is installed on your Fedora system. To do so execute the following command
sudo dnf install openssh-server

Next step is to enable systemd service sshd to make sure that SSH daemon will start after the reboot:

sudo systemctl enable sshd

Finally, start the ssh service (old way):

sudo service ssh start

For newer version of Linux:

sudo systemctl start sshd

Please follow and like us:
This entry was posted in Linux and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *