Bug #10196
closed[RHEL7] Modification of ~/.ssh/config in admin node restricts ssh to other nodes.
0%
Description
While setting up Ceph cluster using RHEL7 VMs, I found that modifying ~/.ssh/config file in admin node with details i.e, Host, Hostname and User of other nodes doesn't work and the admin node fails to ssh to other nodes. I checked the details multiple times and found that nothing was wrong in it and without configuring the file, passwordless ssh was working fine. So, I modified the global file /etc/ssh/ssh_config instead with details of other nodes and it worked. Admin node was able to ssh to all other nodes and there were no ssh issues whatsoever.
Modifying /etc/ssh/ssh_config instead might be a better option as it is a global config file for sshd but still the reason why modification of ~/.ssh/config didn't work on RHEL7 might be worth investigating.