I'm having trouble with the gogs ssh url,but am not sure if the web ui config needs corrected, or whether server config needs changed.
The recommended ssh url in the web ui always has the same user and looks like this:
gogs@myserver.com:org/application.git
The problem: That url is not the user's name, nor the complete location on disk of the repository. Is that normal? Replacing the user gets authenticated, but the location is denied.
//no go, does not appear to be a git repository
git clone ssh://myUserName@myserver.com:org/application.git
My current workaround: The repositories are kept on disk at /gogs-repositories, and I can clone them by going directly to them:
git clone ssh://myUserName@myserver.com:/gogs-repositories/org/application.git
But this modification has drawbacks. There are write permission/collaboration issues that have to be managed through CLI instead of through gogs.
Update:
Fiddling with it, I did get the suggested link to pass initial authenticaton, but debugging shows a gogs specific error
Gogs: "Invalid key ID".