25.3 Configuring an OpenSSH Server


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.