still not getting Subversion and SVN...

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

I posted a couple of weeks ago, I've been busy, but just spent a couple of frustrating hours trying to hook up to my repos

I have Subversion installed, on Linux/Apache server, I was able to create repositories in SSH with PuTTY

I am trying to use Tortoise SVN

I am using PuTTY as the SVN SSH client.

I think the problem is keys - I have about 4 sets, and I don't know what I'm doing!

in the .ssh dir there is a file "authorized_keys" and I copied in the latest keys I generated with puttygen - but there's a lot of other crap (key files) there too

I'm still getting a message "could not load private key"

Maybe it is the hosting, I have shared hosting on BlueHost but I have found posts where people say they are using SVN on BH (maybe they changed the setup)

I'm pretty fed up - thinking about trying Hot Drupal with Hybrid VPS - anybody know anything about them, I think they are pretty new... Two servers, one dedicated to serving the Drupal files, the other server handles email and ftp - and they support Subversion.

If you know how to get Tortoise SVN running, I'd pay some $$ for 15-30 minutes of your time on Skype or IM.

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

Can you SSH into your hosting account? The authorized_keys file you mention is for SSH, and not subversion.

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

Yes, I can SSH using PuTTY - and I created Subversion repositories from the command line in PuTTY...

But I am planning to share repos with some colleagues who are not that techy and I don't really want them wandering around in SSH - Tortoise SVN seems like the right tool, but I'll try something else...

I have PuTTY set as the SSH client for T-SVN - should I use pageant or plink - ?

With PuTTY I am getting the message error about not being able to load the key, and the server is closing the connection, so maybe it is the server, not T-SVN (I'm thinking about moving my hosting ... again)

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

I presume you're using this guide?

When you SSH into the host using PuTTY does it -- correctly -- not ask you for the password?

I think the problem is keys - I have about 4 sets, and I don't know what I'm doing!

Seems like this is the problem. There comes a point with this sort of stuff where it's just easier to wipe everything you've done and start again. Everything is easier the second time too.

in the .ssh dir there is a file "authorized_keys" and I copied in the latest keys I generated with puttygen

Isn't this meant to be done the other way around: generate the keys on the server, then copy them to your local machine?

I have PuTTY set as the SSH client for T-SVN - should I use pageant or plink - ?

It says in that guide to use:

[tunnels]
ssh = c:\\Program\ Files\\TortoiseSVN\\bin\\TortoisePlink.exe

Or are we talking about different configuration options here?

a Padded Cell our articles site!

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

Jeeves - you forgot the link to the guide, but yes, I have the docs for PuTTY, Subversion, Tortoise...

On the Collabnet Subversion forum, I have been told if I can't edit the httpd.conf I can't just run Subversion by http://

Kind of explains why I've been running into a brick wall

Yes, SSH tunneling is an option

I just opened a hosting acct with Hot Drupal

In my pre-sales inquiry I made sure that Subversion and SVN are supported (they are at HD, at least on some of their servers)

I was impressed that when I opened the hosting acct, they remembered my inquiry and placed my domain (decibelplaces.com, what else?) on a server with Subversion/SVN

Haven't decided yet what to do with my BlueHost acct - it's *ok* for shared hosting, not a disaster like StartLogic - but don't try anything fancy there - here is the latest ticket email from BH when I asked about all my crazy keys, and a problem with their online SSH tools in the CP:

Good day,

Unfortunately you have found some of the many bugs in the Control Panel. The SSH tool in the control panel seldom work and we are working with the developers of Cpanel to get them working. At times they work but to the most part they will do what you have seen.

The best thing would be to us a 3rd party software such as Putty to connect.

Thanks,

Jon Bryson
Level 1
BlueHost.com
888.401.4678

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

you forgot the link to the guide

Bah, I botched the link, forgot to put the closing " in there. It's fixed now though.

On the Collabnet Subversion forum, I have been told if I can't edit the httpd.conf I can't just run Subversion by http://

Yes, that conversation appeared on a Google search. It seems that with Bluehost your only option is to use SSH tunnelling.

Anyway, it's all moot as you've got a shiny new hosting account now. Smiling

a Padded Cell our articles site!

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

ah - I missed that guide - maybe it will work, there are steps I didn't do

but BH locked the server tight after a DDoS attack last week, can't use Navicat either - and they categorically deny any support for Subversion and SVN so it's all DIY

Hopefully I will be happier (and my Drupal sites will run faster) at Hot Drupal...

stay tuned for further details

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

some progress...

I have PuTTY and pageant configured for automatic SSH access

I configured T-SVN to use plink (tortoiseplink causes stderr messages)

I was able to import *something* to a repo (created in SSH)

svn import -m /xampplite/htdocs/arifali svn+ssh://[email protected]/home/uname/public_html/svn/arifali

but when I list the repo, it looks like the whole domain is in it, but not the files I wanted to import

Using T-SVN repobrowser I can connect to svn+ssh://[email protected]/home/uname/public_html/svn/arifali, auth with plink works - but when I try to open the arifali repo, I get the error: Error * Connection closed unexpectedly

I uninstalled T-SVN 1.5.2 and installed 1.4.8 (some bugs were reported with v 1.5.x) but I still get the error

hmmm?

They have: 21 posts

Joined: Aug 2008

Hello,
I think you miss some rules from guidlines or you forgot something ?

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.