Importing SSH keys for users (as admin)


We’re looking at switching our existing git repositories to gogs, and have ~10 authorised users to migrate into gogs. I see the gogs admin command supports creating a new user, but there’s no option to add an SSH key. Is there any way of adding an SSH key for another user? Trying to get ten different people to go to the GUI and manually add their own keys feels a bit like herding cats…

edit: we have a similar issue with adding deploy keys to a repo, is there any CLI or bulk-upload feature for adding deploy keys?

Thank you.

Hi, thanks for looking into Gogs!

Unfortunately, two features you’re looking for aren’t supported yet. You’re welcome to file issues for each of them separately on

That’s no problem, thank you for getting back to me. :slightly_smiling_face: