After generating the private and public key for a RHEL Client and storing the public key in the authorized_keys folder of the RHEL 7 Server, I disabled the Root Login in the Server by going to /etc/ssh/sshd_config
and setting PermitRootLogin to no. After that I restarted the sshd service.
Now when I am trying to do ssh from client to server it says
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)
Why I am getting this message?