Subversion : svn+ssh:// : No repository found

You can use “svn checkout svn://hostname.tld/project/” but you can’t check out your projects using svn+ssh:// ?

Let’s clear things, svn+ssh:// doesn’t require svnserve to run on the server as a daemon or through (x)inetd to work.

svn+ssh:// is only doing some kind of scp connection to the server.
That’s why you need to USE ABSOLUTE PATH WHEN USING svn+ssh

Usage :

svn only
svn checkout svn://hostname.tld/project/

svn+ssh
svn checkout svn+ssh://hostname.told/full/path/to/project/

22 thoughts on “Subversion : svn+ssh:// : No repository found

  1. Thanks for the tip about svn+ssh needing a full directory path. I had created a symbolic link within the user’s home directory to the svn repository located elsewhere under the assumption that svn would use the home dir as its relative path. So much for my assumptions.

  2. Thanks alot for the much needed tip!! givving absolute path in svn+ssh solved
    my problem checking out using ant script over ssh!!! Thanks again :-)

  3. hi there

    i am working with svn on windows environment. tried ur concept on tsvn, bt failed. any help for implementing svn over ssh in windows environement will be really appreciated.
    thanks….

  4. I don’t understand then why protocol calles “svn+ssh” and not simply ssh?!

  5. I don’t understand then why protocol called “svn+ssh” and not simply ssh?!

  6. Thank you for this. It is amazing how many people do not know this. I spent 3 freaking hours trying to access my repository!!!

  7. Did anyone get the repository path to work that was suggested by Michael? I’m still having no luck, even after trying steps 7 & 8 of that tutorial.

    thanks!

  8. Merci Sébastien! Your post did save me a few bang of head onto the keyboard on why didn’t the copy of svn on the new machine didn’t work?!? An svn info svn+ssh://host/svn/trunk gave me the infamous svn: No repository found in error message… and that’s because the rsync didn’t copy the symlink svn -> /home/svn… Thank you, thank you! :D

  9. Many thanks for this tip. After hours of searching… it was right here all along!

Comments are closed.