Configuration of URLs messed up.. (ssh) how to fix?


I am using Gogs “Gogs version” and have done something quite wrong with my setup of Gogs. The displayed URL for cloning repositories is quite wrong and I’m not sure what to tweak in the configuration file to fix it. The URL comes out as "" (as an example) and should be “ssh://…” instead.

After attempting to figure out what to set from the configuration “cheat sheet” I am more confused than ever… any help/pointers are much appreciated.


This looks absolutely correct.