How to suppress banner in RHEL

Solution Verified - Updated -

Issue

  • SSH should not show banner while connecting
  • Want client side switch to disable banner
  • Automation script is not expecting specific output from ssh but banner is also appended to it
  • Want to remove banner from SSH output but want to keep errors

Environment

  • Red Hat Enterprise Linux (All versions)
  • OpenSSH

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content