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

using ssh while web authentication is disabled #13700

Closed
2 of 6 tasks
suchAdemon opened this issue Nov 25, 2020 · 2 comments
Closed
2 of 6 tasks

using ssh while web authentication is disabled #13700

suchAdemon opened this issue Nov 25, 2020 · 2 comments

Comments

@suchAdemon
Copy link

suchAdemon commented Nov 25, 2020

Description

Since the update to version 1.12.6 it is not possible any more that accounts which have the permission flag "User Account Is Activated" and "Disable Sign-In" set to true to perform git operations over ssh. Before that it was only affecting the http(s), which was very useful as service accounts could only ssh for operating with gitea (fetch,pull,...) and the authentication via http(s) was disabled.
I set the flag "Disable Sign-In" to false in the admin site web interface and the service accounts were able to communicate over ssh again.
This sounds like a bug to me, that the "Disable Sign-In" is also disabling ssh operations. If not, why would there be two options to disable an account or are there plans to get a dedicated permission flag which permits external service accounts to interact with the repositories via ssh?

@techknowlogick
Copy link
Member

The bug was that accounts marked as disabled were in fact able to clone. For what you are looking at doing please use deploy keys.

@suchAdemon
Copy link
Author

Hi @techknowlogick , thanks for the reply.
Yea I know about the deploy keys, but these are can only be set to a dedicated project till now and if you have, lets say more than 100 repositories owned by each organisation, you have to deploy a lot of keys or am I wrong? And for such things it would make sense to have either a service user setting/attribute or to be able to create a deploy key in the organisation which can be used for all repositories inside of the organisation.

@go-gitea go-gitea locked and limited conversation to collaborators Jan 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants