I switched user after creating a user on my server from root, I then blocked root log in, shortly after during my setup I wanted to push to github but the ssh public key permission was denied, I then tried to change permissions to allow mw have access here is what I got
`chmod go-rx bal`
`chmod: changing permissions of 'bal': Operation not permitted`
I used super user do nothing still happened, it brought the same error.
I then wanted to switch user but I was unable to here is what happened
`su root`
`Password:`
`su: Authentication failure`
This is the error I got when I tried pushing to github, which is why I started trying to change my user permissions:
`/var/www/app$ sudo git push origin master`
`[email protected]: Permission denied (publickey).`
`fatal: Could not read from remote repository.`
`Please make sure you have the correct access rights`
`and the repository exists.`
Help me on this too
Currently now I can't even login to my server again using my user and root after I changed my /.ssh files permission to a+rwx
this is the error I get when i try to login to my server now
`ssh [email protected]`
`[email protected]: Permission denied (publickey).`
Please help me to regain full access to my files and I didn't remember given my root any password except the new user I created. Please help me it's my final year project and I'm to submit by the end of this month.