ssh writing out extra text on error

Solution Verified - Updated -

Issue

  • Extra messages are written out when there is a ssh error

    $ ssh -oConnectTimeout=1 XXX.XXX.XXX.XXX
    ssh: connect to host XXX.XXX.XXX.XXX port 22: Connection timed out
                                                                      <---
    You can find some explanations for typical errors at this link:   <---  
            https://red.ht/support_rhel_ssh                           <---
    
  • How to suppress the new error messages from ssh.

Environment

  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 10

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