Is it possible to access a repo through a URL of the form ssh://user@host/repo (which becomes just ssh://host/repo if the user name of the machine is the same)?
The reason I’m asking is because I want my users to have no SSH setup to do before accessing the repos. With my current setup, any user in my company can ssh into the rhodecode server without typing a password or setup a key pair. I am not 100% sures how it works, but the SSH clients use the GSSAPI auth method and the authentication works out of the box.
Today if I try to do this, the authentication works, but the repository is not found:
hg clone ssh://email@example.com/myrepo remote: Using SSH protocol version 2 remote: Using username "me". remote: Attempting GSSAPI authentication remote: Access granted remote: Opening session as main channel remote: Opened main channel remote: Started a shell/command remote: abort: repository myrepo not found!
(I removed irrelevant output lines)
Is there any way I can leverage this authentication method? I’m only interested in Mercurial.