Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not clone with SSH: AllowGroups #77

Open
matthiasbe opened this issue May 26, 2023 · 0 comments
Open

Can not clone with SSH: AllowGroups #77

matthiasbe opened this issue May 26, 2023 · 0 comments

Comments

@matthiasbe
Copy link

When I use git pull with an SSH remote url, it fails with the following error in /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.

I edited the file: /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.

@matthiasbe matthiasbe changed the title Can not clone with SSH: AllowGroups and more Can not clone with SSH: AllowGroups May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant