SOLUTION: "svn: No repository found" error with svn+ssh on the same host
Monday, September 13, 2010 at 08:39AM I had a strange problem where a SVN working copy was working fine on one machine, but after file copying it to the same machine that the svn server lives on, any server accesses would fail with "no repository found". The breakthrough came when I tried to ssh in as the svn user, which should connect directly to svnserve and give some gibberish back, but instead was logging in with a waiting shell prompt.
Why was this happening from the same machine and not another machine ?
The problem turned out to be how sshd authenticates. Somehow it wasn't trying the correct key in the .ssh directory, and defaulting to a password login.
The solution was to specify which key to use on the client side when connecting as the svn user for the svn server.
eg. in ~/.ssh/config :
Host your-svn-server.com
IdentityFile ~/.ssh/your-svn-key.ppk
User svn
