The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.

26.3 Configuring an OpenSSH Server

Note

The default Oracle Linux installation includes the openssh and openssh-server packages, but does not enable the sshd service.

To configure an OpenSSH server:

  1. Install or update the openssh and openssh-server packages:

    # yum install openssh openssh-server
  2. Start the sshd service and configure it to start following a system reboot:

    # service sshd start
    # chkconfig sshd on

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.