1.
Check sshd service: #
systemctl status sshd
2. Install the openssh package: # dnf install
openssh -y
or Update the openssh package : # dnf update
openssh
3. Start the OpenSSH:
# systemctl start sshd
4. Check sshd service: #
systemctl status sshd
5. Enable the SSH service to start after the reboot: # systemctl
enable sshd
Open the firewall rules to accept incoming traffic on SSH port 22:
# firewall-cmd --zone=public --permanent --add-service=ssh
Connect to the SSH from a remote client machine:
$ ssh
[email protected]