How to install, start and connect to SSH Server on Fedora Linux
Details
Lubos Rendek
Fedora
The tutorial will explain the basics behind SSH server and SSH client connections on Fedora Linux Workstation. By default the SSH server on Fedora Workstation may be installed but not enabled. This will cause a following error message when connecting via SSH client:
ssh: connect to host fedora-workstation port 22: Connection refused
In this tutorial you will learn:
How to Install SSH server
How to enable SSH server
How to Start SSH server
How to Connect to SSH server
Check status, enable and start the SSH Server on Fedora Linux
Software Requirements and Conventions Used
Software Requirements and Linux Command Line Conventions
Category
Requirements, Conventions or Software Version Used
System
Fedora 30
Software
OpenSSH
Other
Privileged access to your Linux system as root or via the sudo command.
Conventions
# - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command $ - requires given linux commands to be executed as a regular non-privileged user
Enable and start SSH server on Fedora Workstation step by step instructions
First step is to check whether the openssh-server is installed on your Fedora system. To do so execute the following command which in case the SSH server is install should produce a relevant output. Example: