This revision made November 07, 2012 19:15, by nvause
« earlier revision revert to this « later revision

» Project Kenai Documentation and Training    » How Do I ...    » Using Subversion on Microsoft Windows Systems

Setting Up Cygwin to Use SSH on a Microsoft Windows Machine

Before reading this section, make sure you've installed the Subversion client. As described at About Subversion, you can download the Subversion client as an installable binary from http://subversion.tigris.org/. Use the default settings and ensure that the installer adds the Subversion path to the system PATH environment variable.

In addition, these instructions assume that you've generated an SSH key as described at Generating and Using an SSH Key on a Microsoft Windows Machine. For use by Cygwin as described below, the private key must be in OpenSSH compatible format. If necessary, you can export your private key to an OpenSSH compatible version using PuTTYgen.

Note: Thanks to David North, who figured out how to do all this and posted instructions on his blog at http://www.dnorth.net/2007/09/08/svn-ssh-on-windows/.

  1. Install Cygwin and make sure you include the openssh package.
  2. Edit the C:\Documents and Settings\your-username\Application Data\Subversion\config file to include a line like the following:
     ssh = c:/cygwin-root-path/bin/ssh.exe -i "C:/privatekeypath"
    Note: You must use forward slashes (/) in the path to the private key file!
  3. You can now use the Cygwin command line with your Subversion repository. For example:
    svn co svn+ssh://your-username@svn.kenai.com/project-name~your-svn-repos

Project Features

Wiki Controls

About this Project

Help for netbeans.org Site Tools was started in November 2009, is owned by kenaiadmin, and has 17 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close