Closed
Description
The built-in SSH server is useful, especially for testing. The biggest disadvantage is that the user shown in the UI for the built-in SSH server is set to whatever the RUN_USER
is set to, which must be the user Gitea is started as.
Because the built-in SSH server only uses the public-key to authenticate, I can use any user when cloning the repository.
In my opinion, there should be a config option to set a custom user to display in the UI in the SSH clone URL when the built-in SSH server is enabled. There could also be an option to omit the user entirely, because any user will work, as long as the SSH key is registered in the user's settings.