Installing OpenSSH Server and Enabling sshd
A default Oracle Linux installation includes the openssh and
openssh-server packages, but the sshd service isn't
enabled by default.
-
If the packages aren't installed, run the following command:
sudo dnf install openssh openssh-server -
Start the
sshdservice and configure it to start following a system reboot:sudo systemctl start sshd sudo systemctl enable sshd
You can set sshd configuration options for features such as Kerberos authentication, X11 forwarding, and port forwarding in the /etc/ssh/sshd_config file. For more information, see the sshd(8) and sshd_config(5) manual pages.