So I have just finished setting up cPanel and followed the security advisor tips, but now I am unable to log into FTP or SSH since doing the following;
I now rather regret doing this as I am at a total loss how to gain access back to this file to edit it back to the way it was.. but I have blocked myself from doing this?
The error I get when logging in is the following;
Many thanks!
SSH direct root logins are permitted.
Manually edit /etc/ssh/sshd_config and change PermitRootLogin to “no”, then restart SSH in the “Restart SSH” area
I now rather regret doing this as I am at a total loss how to gain access back to this file to edit it back to the way it was.. but I have blocked myself from doing this?
The error I get when logging in is the following;
I still have access to the web side of WHM, so I am hoping I can do something within the control panel to fix this? I am still rather new to WHM/cPanel so a slightly dumbed down guide would help.Disconnected: No supported authentication methods available (server sent: publickey, gssapi-with-mic)
Many thanks!