How To

Find the answers to your Go questions, including FAQs, how-tos, tips and tricks

This is a public Discussion Area  publicRSS

How To

    Jez Humble
    svn+ssh on Windows
    How To posted October 2, 2009 by Jez Humble , tagged Subversion, Windows
    1199 Views
    Title:
    svn+ssh on Windows
    Problem:

    How do I make Cruise work with svn+ssh on Windows?

    Solution Description:

    Credits: some of these instructions come from Aurelian's Room

    1. Install the Subversion command line on all machines running Cruise Server and Cruise Agents: http://subversion.tigris.org/getting.html#windows

    2. Install PLink on all machines running Cruise Server and Cruise Agents: http://www.chiark.greenend.org.uk/~sgtatham/putty/

    3. Verify you can connect to the server svn is running on by running with

    plink -i c:\path\to\your\key.ppk user@server
    


    on the command line

    4. Edit the Subversion config file found at C:\Documents and Settings\user\Application Data\Subversion\config. Add the following line to the section named

    [tunnels]
    
    ssh=c:/path/to/plink.exe -i c:/path/to/your/key.ppk
    

    5. Verify it works (without requiring a password) with:

    svn info svn+ssh://username@svnserver/svnroot/codepath
    

    6. Ensure Cruise is running as the same user you setup Subversion for in step 4 as follows:

    • Click on Start > Settings > Control Panel > Administrative Tools > Services
    • Double click on Cruise Server / Cruise Agent service
    • Click on the "Log On" tab
    • Change from Log On as "Local System Account" to "This account" and use the username and password of the logged in user
    • Restart the service