Open narduin opened 2 years ago
Thanks, as admin sudo usermod -a -G ssh.app gitea
was necessary. Nothing was needed to change in the /etc/ssh/sshd_config
file in the end.
Also, on a related issue, we noticed a strange permissions issue. sshd would refuse connections with:
Authentication refused: bad ownership or modes for directory /home/gitea/.ssh
After a check, it becomes obvious why:
# ls -ld /home/gitea/.ssh
drwxrwxrwx 2 gitea gitea 4096 Jul 5 14:30 /home/gitea/.ssh
I guess something's broken either in some Debian or YNH installation scripts...
Fixing perms solved the issue.
Hth,
P.S.: I didn't open a specific issue, as I guess it's quite related in case of SSHing for git.
Hey, I look to make update the readme file, some old instruction needs to be removed, and write inside the Yunohost documentation.
Describe the bug
After a clean install following the official Readme here, it was impossible to use ssh to pull/push. It kept asking for gitea's password. After reinstalling, trying the testing branch and several hours of tests, I found a comment on the gitlab repo that it could be coming from
So I changed it to
yes
and now I can ssh with gitea. I don't know if it's coming from my install or if it's an error in the Readme.Context
Steps to reproduce
gitea
user tossh.app
groupsshd_config
to match the one described in the ReadmeExpected behavior
Should be able to push without being asked for a password using SSH.