Internet Bandaid   [RSS Feed]

Archive for the ‘daemon’ tag

SVNserve (Subversion) on 1and1

with 2 comments

** A new post has been written on this subject. Please read SVN Access Via SSH Keys for Linux and Windows for an updated and working solution (works on 1and1 as well).


—– Old Original Post ——-

I spent the week trying to get Multiple Subversion User Accounts to work on a 1and1 Linux Business Package. I FAILED. The 1and1 tech team told me they do not allow it.

As many of you know by now, the 1and1 Linux Business Package only gives you one SSH account. Ideally, you do not share this ssh account because it opens up your entire shared server, including access to svn (via svn+ssh tunnel mode – instructions here).

First, I tried to run svnserve in daemon mode and failed. I discovered 1and1 runs a crontab to kill svnserve daemons every minute. I tried to write my own crontab to revive the daemon, but that didn’t work.

Second, I tried to run svnserve in inetd mode, but because I do not have access to inetd.conf (makes sense..i’m on a shared server), this option failed.

Third, I tried to use public key authentication to allow multiple users to ssh into my shared server without knowledge of my ssh password. 1and1 does not allow public key authentication unless you’re using putty public key authentication, which isn’t the same thing. So this option failed too.

In the end, I released my sole ssh credentials to my developers, which they used to ssh tunnel into my repository.

1and1 said they allow svnserve on their dedicated and virtual servers.

———

** A new post has been written on this subject. Please read SVN Access Via SSH Keys for Linux and Windows for an updated and working solution (works on 1and1 as well).

Written by John Lai

September 8th, 2008 at 9:51 pm