Subversion over SSH

Continuing with my exploration of using some form of version control to hand configuration file managent, I’ve been using svn over ssh.

Setting up svn access over ssh is a fairly stright forward process.  The first set is to create the actual repo on the server.

mkdir /var/repo/configs

Then use svnadmin to create a repository in that directory.

svnadmin create /var/repo/configs

Now that you have you repoistority created, it’s time to start using it.  If you have an already existing set of files you’d like to import, do something similar to this…

svn import . svn+ssh:///var/repo/configs -m "Initial import"

If you’re just starting out, checkout a working copy like such..

 svn checkout svn+ssh:///var/repo/configs .

Related posts:

  1. Extend the timeout on SSH connections A quick google search will quickly answer this question, but...

Related posts brought to you by Yet Another Related Posts Plugin.

This entry was posted in Uncategorized. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>