How to prevent SSH host key or system-related logs from being displayed on the console or terminals in Red Hat CoreOS (RHCOS) in RHOCP 4 ?
Issue
- How to disable the unnecessary log entries (noise) in
IBM Z operlog
printing the login banner on the RHCOS worker nodes like:
"SSH host key: SHA256:5/BSBVwnpE4QPv0QoKwn8MY6+cVbWZF6pDCS8z7+Lrc (ECDSA)" VID=*
"SSH host key: SHA256:i8bn8pq9pJ2FJ/+NftxkwDAD4HN8gnxmUy1D9oJkqCA (ED25519)" VID
"SSH host key: SHA256:tqAG5nHN8bp2X/gws6Zl3HQpbHzkNxNoRCXSpfirwkQ (RSA)" VID=*MS
"enc600: x.x.x.x " VID=*MSG SRC=MASIUCV CLS=8
"wr1sa004 login: " VID=*MSG SRC=MASIUCV CLS=8
Environment
- Red Hat OpenShift Container Platform (RHOCP) 4
- Red Hat CoreOS (RHCOS)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.