How to add Include statement in the /etc/ssh/sshd_config file in RHOCP4
Issue
- How to add Include statement in the
/etc/ssh/sshd_configfile in RHOCP4? -
After upgrading from RHOCP 4.12 to 4.13 it was not possible to ssh into the nodes so to fix this issue impose adding the
Include /etc/ssh/sshd_config.d/*.confstatement in/etc/ssh/sshd_configfile. -
Accessing a node using SSH failing with the follwoing message after openshift upgrade:
$ ssh -i sshkey core@10.0.0.1 core@10.0.0.1: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.12 (preparing to upgrade to 4.13+)
- 4.13
- 4.14
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.