Hardware: Linode VPS
YunoHost version: 126.96.36.199 (stable)
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
When I installed gitea, it let me add ssh keys in the UI; however, I was unable to clone repositories through the ssh link. It would say “permission denied (publickey).” I was able to fix this with the following commands:
sudo usermod -a -G ssh.app gitea chmod 700 /home/gitea/.ssh chmod 600 /home/gitea/.ssh/authorized_keys
I wanted to document this here for anyone that may run into the same issue as me.