While logging into a Red Hat Enterprise Linux 7 server by means of SSH you may be addressed by a login banner. You may use the steps below to create the login banner.

  1. Edit the /etc/ssh/sshd_config file (i.e. Banner /etc/banner)
  2. Create the /etc/banner file
  3. Restart the SSH service (i.e. systemctl restart sshd)