Book a Demo

Author Topic: version control with subversion and SSH  (Read 2770 times)

mark.myers

  • EA User
  • **
  • Posts: 97
  • Karma: +0/-0
    • View Profile
version control with subversion and SSH
« on: January 07, 2007, 07:20:28 pm »
I am trying to use a subversion repository that uses SSH security as a repository for version control in EA but EA (via svn.exe) reports that it was unable to create the tunnel.  I have Pageant (putty authentication) running and can connect to the repository with TortoiseSVN.  Any ideas?
Cheers, Mark

mark.myers

  • EA User
  • **
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: version control with subversion and SSH
« Reply #1 on: January 07, 2007, 10:49:47 pm »
It's okay.  I've got this going now.  Just had to set a few environment variables and some other stuff and reboot.  If anyone wants details I will post them.
Cheers, Mark

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: version control with subversion and SSH
« Reply #2 on: January 07, 2007, 10:55:30 pm »
Quote
It's okay.  I've got this going now.  Just had to set a few environment variables and some other stuff and reboot.  If anyone wants details I will post them.
Yes please...

(and if you have the time, an addition to the EA User Wiki would be cool)

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

mark.myers

  • EA User
  • **
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: version control with subversion and SSH
« Reply #3 on: January 08, 2007, 10:59:05 pm »
OK.  Will do the Wiki when I have a mo.  


1. Install PuTTY and add the installation directory to your PATH
2. Run pageant and load your private key file (need to do this each time you restart your machine)
    This can be done as part of the startup but probably best not as most ppk files should also require an initial pasword.
         eg C:\Progra~1\PuTTY\pageant.exe C:\MyKeys\username.ppk
         
3. Set these environment variables
SVN_ASP_DOT_NET_HACK=SVN
SVN_SSH=plink -ssh -l username
(note: username is to match the ppk file)

4. Get a copy of svn.exe and store it in a local drive (try the server where subversion is installed).

5. Follow the standard directions in EA on configuring version control with SVN, if that dooes work then reboot and try again. (don't forget to restart pageant and load your key file)

If this isn't clear let me know.  I'm dashing this out as I am trying to quit for the day. Yay. :)
Cheers, Mark