Quantcast
Channel: Failing SSH after disabling Root Login - Server Fault
Viewing all articles
Browse latest Browse all 2

Failing SSH after disabling Root Login

$
0
0

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?


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images