There would be situations where the package install is so corrupted and we can’t remove the package with –nodeps to remove it from server and just install the package only. Remove the package from the local RPM database to trick yum into reinstall package. Please note that no files are deleted when using rpm -e with –justdb.
So here is what you have to do, to reinstall a openssh-server.
[root@support home]# rpm -qV openssh-server.x86_64
S.5....T c /etc/pam.d/sshd
S.5....T c /etc/ssh/sshd_config
[root@support home]# rpm -e --justdb --nodeps openssh-server.x86_64
[root@support home]# yum install openssh-server.x86_64