Gitea & SSH : ajustement de sshd_config nécessaire?

:uk:/:us: Question en français plus bas…

Am I the only one who had to adjust /etc/ssh/sshd_config as follow to allow ssh pull and fetch on gitea managed repositories?

-AllowGroups ssh.main sftp.main ssh.app sftp.app admins root gitea
+AllowGroups ssh.main sftp.main ssh.app sftp.app admins root

Is there a better solution?


:fr: Did you miss the english version above?

Suis-je le seul a avoir du ajuster /etc/ssh/sshd_config comme suit pour autoriser l’utilisation de ssh avec les dépôts logiciels gérés par gitea ?

-AllowGroups ssh.main sftp.main ssh.app sftp.app admins root gitea
+AllowGroups ssh.main sftp.main ssh.app sftp.app admins root

Y’a-t-il une meilleure solution ?

Cordialement

Instead you should do

usermod -a -G ssh.app gitea
1 Like

Ah yes!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.