No accepting ssh key

I’ve double checked that I am using and copying the right public (*.key.pub) file to gitea. I get the error.

Sorry, we were not able to verify your SSH key: SSH is disabled

Please check your custom/conf/app.ini to enable SSH.