Allow ssh info command to list repositories available #2422

Open
opened 2025-11-02 04:35:39 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @danwilliams on GitHub (Oct 19, 2018).

Description

Certain other repository management tools, such as Gitolite, allow a user to see what repositories they have access to by passing info to the SSH command.

For example, ssh git@git.gitea.io info

The result is a list of repositories.

This is really useful not only for command-line users but also for quickly verifying what access someone has.

Could Gitea support this?

Originally created by @danwilliams on GitHub (Oct 19, 2018). ## Description Certain other repository management tools, such as Gitolite, allow a user to see what repositories they have access to by passing `info` to the SSH command. For example, `ssh git@git.gitea.io info` The result is a list of repositories. This is really useful not only for command-line users but also for quickly verifying what access someone has. Could Gitea support this?
GiteaMirror added the type/proposal label 2025-11-02 04:35:39 -06:00
Author
Owner

@lunny commented on GitHub (Oct 20, 2018):

I would like move this issue to https://github.com/go-gitea/tea.git

@lunny commented on GitHub (Oct 20, 2018): I would like move this issue to https://github.com/go-gitea/tea.git
Author
Owner

@tboerger commented on GitHub (Nov 25, 2018):

@lunny that's not related to tea, that's a gitea core feature request...

@tboerger commented on GitHub (Nov 25, 2018): @lunny that's not related to tea, that's a gitea core feature request...
Author
Owner

@lunny commented on GitHub (Nov 26, 2018):

@tboerger oh, right!

@lunny commented on GitHub (Nov 26, 2018): @tboerger oh, right!
Author
Owner

@mateusza commented on GitHub (Mar 8, 2019):

Please see how gitolite implements this:

http://gitolite.com/gitolite/user.html
https://github.com/sitaramc/gitolite/tree/master/src/commands

Apart from listing repositories, it supports multiple simple operations that can be performed using ssh:

  • creating a repo
  • deleting a repo
  • forking a repo
  • mirroring a repo
@mateusza commented on GitHub (Mar 8, 2019): Please see how gitolite implements this: http://gitolite.com/gitolite/user.html https://github.com/sitaramc/gitolite/tree/master/src/commands Apart from listing repositories, it supports multiple simple operations that can be performed using ssh: - creating a repo - deleting a repo - forking a repo - mirroring a repo
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2422