Red Hat Bugzilla – Bug 1296321
[SME] SSH configuration should include changing ssh_config option
Last modified: 2017-08-24 16:50:07 EDT
Document URL: https://docs.openshift.com/enterprise/3.1/install_config/install/prerequisites.html#ensuring-host-access
Section Number and Name: https://docs.openshift.com/enterprise/3.1/install_config/install/prerequisites.html#ensuring-host-access
Describe the issue:
The SSH setup should include turning off the strict hostname checking, to avoid the installer from stopping and prompting for short/long hostnames to be entered into the knownhosts file.
When a customer installs, if they use short names to do ssh with, when the installer uses the FQDN it will stop and prompt for all the hosts. This can be avoided by either changing the install script to specify "no' for StrickHostChecking, or by changing the setting in /etc/ssh/ssh_config on the installation host.
Suggestions for improvement:
Add the following command to the instructions:
cat " StrictHostKeyChecking no" >> /etc/ssh/ssh_config
Alternatively, the install script (ansible) could use
ssh -o "StrictHostKeyChecking no" every time it does an ssh call.