[[Home|» Project Kenai Documentation and Training]] [[Howdoi|» How Do I ...]] [[Usingsvn-win|» Using Subversion on Microsoft Windows Systems]] <h1>Setting Up Cygwin to Use SSH on a Microsoft Windows Machine</h1> Before reading this section, make sure you've installed the Subversion client. As described at [[SourceControl#About_Subversion|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 [[Winsshwithputty|Generating and Using an SSH Key on a Microsoft Windows Machine]]. For use by Cygwin as described below, the private key must be in [http://openssh.org/ 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/]. # Install [http://cygwin.com/ Cygwin] and make sure you include the <tt>openssh</tt> package. # Edit the <tt>C:\Documents and Settings\</tt>''your-username''<tt>\Application Data\Subversion\config</tt> file to include a line like the following:<br/><tt> ssh = c:/''cygwin-root-path''/bin/ssh.exe -i "C:/privatekeypath"</tt><br/>'''Note:''' You must use forward slashes (<tt>/</tt>) in the path to the private key file! # You can now use the Cygwin command line with your Subversion repository. For example:<br/><tt><nowiki>svn co svn+ssh://</nowiki></tt>''your-username''<tt>@svn.kenai.com/</tt>''project-name''<tt>~</tt>''your-svn-repos''