Yesterday, I was busy setting up my server and securing it. I am a noob at code, programming and webhosting, but I am trying to host my own website. So yesterday I changed some settings in the sshd_config file. One of the lines i changed was ''PermitRootLogin'' I have that set to ''no'' right now.
Now I want to login to my server again, to make more changes, but the login method I am used to:''ssh root@server_IP'' gives me the output: Permission denied.
I can't login to my remote server anymore how I used to. So as far as I know off, I can only connect to my server with my sftp account, but that doesn't allow me to really update the server and install new software etc.
So how can I connect to my server again, as an admin, a root user? I don't know how to open the /etc/ssh/sshd_config file since I am not connected as the root user to my server
If somebody can help me, Thanks a bunch!