Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>`%SVN_SSH% needs to be set <em>correctly</em> and an SSH key needs to be registered with Sourceforge.</p> <p>Note that new Sourceforge projects are <em>version 2.0</em> by default, while 99% of the Sourceforge documentation is for version 1.0 and appears outdated.</p> <p>These instructions assume you have <code>SVN</code> and the <code>PuTTY</code> tools installed, and that you can successfully access your project using a non-secure protocol, eg the read-only <code>svn checkout svn://USER@svn.code.sf.net/p/PROJECT/code/trunk PROJECT-code</code> style command should work.</p> <p>These instructions explain how to do the same with <code>svn checkout svn+ssh://...</code> which is needed for write access to Sourceforge.</p> <ol> <li><p>Set <code>%SVN_SSH%</code> to the fully qualified path of your SSH client. E.g. <code>setx SVN_SSH "C:/Program Files (x86)/PuTTY/plink.exe"</code></p> <ul> <li><code>svn</code> expects <strong>forward slashes or double back-slashes</strong> in the path</li> <li>You may have to reopen a <code>cmd</code> window</li> <li>Test by typing <code>%SVN_SSH%</code> at the prompt and confirm you get your ssh programs help screen (or whatever behaviour you expect from executing with no arguments)</li> </ul></li> <li><p>(Optional?) Cache the server RSA key. Open <code>PuTTY</code>, login to <code>svn.code.sf.net</code> (or whatever the server of your project is). A prompt will appear asking if you if you want to cache the server RSA key - click Yes.</p> <ul> <li>You might not need to do this, if not when you use SVN to connect ot your project for the first time you will be asked the same question. Type <code>y</code>.</li> <li>However, I did this because I thought the interactive prompt could be part of the problem.</li> </ul></li> <li><p>Create a public / private key and register the public key with Sourceforge.</p> <ul> <li>On creating a key, more info <a href="http://the.earth.li/~sgtatham/putty/0.58/htmldoc/Chapter8.html">here</a>for example.</li> <li>If you use <code>PuTTY</code>, use <code>PuTTYgen</code> to create the key, and make sure the private key is loaded in <code>pageant</code>. Ironically <a href="https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair">Launchpad</a> has excellent instructions.</li> <li>The public key can be registered on Sourceforge by navigating to <code>Home &gt; Account &gt; Services</code> and clicking <code>Edit SSH Keys for Shell/CVS</code>.</li> </ul></li> <li><p>Now a checkout using <code>svn+ssh</code> protocol should work!</p></li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload