Open matthiasbe opened 1 year ago
When I use git pull with an SSH remote url, it fails with the following error in /var/log/auth.log
git pull
/var/log/auth.log
User gogs from 195.132.55.251 not allowed because none of user's groups are listed in AllowGroups
To be able to use SSH interaction, I had to add gogs in the AllowGroups.
gogs
AllowGroups
I edited the file: /etc/ssh/sshd_config
/etc/ssh/sshd_config
With the following line:
AllowGroups ssh.main sftp.main ssh.app sftp.app admins root gogs
Now I don't have the error anymore but there is another problem coming, that I will state in another issue.
When I use
git pull
with an SSH remote url, it fails with the following error in/var/log/auth.log
To be able to use SSH interaction, I had to add
gogs
in theAllowGroups
.I edited the file:
/etc/ssh/sshd_config
With the following line:
Now I don't have the error anymore but there is another problem coming, that I will state in another issue.