I got svn+ssh to work from Windows, so I thought I'd post the
directions if any one else needs them.  This is for committers with
write access to the repository.

I used the putty tools for this.  Specifically you need plink.exe and
puttygen.exe.  I like putty.exe itself, so I just downloaded the zip
file containing all the tools from:

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Basically what you  need to do is generate a key using puttygen.exe
and then set up plink in the svn config file.  Pretty good directions
for this are at:

http://agateau.com/2007/07/03/windows-svnssh-and-the-subversion-command-line-client/

Except that, where it says:  Log on your server and append the content
of this text field to the $HOME/.ssh/authorized_keys file - instead
you paste the content into you ssh keys area on SourceForge.

To do that, login to your account on SourceForge and go to your
account page -> services page, scroll down to "Edit SSH Keys for
Shell/CVS", click the link and you'll see where to paste in the
content.

Note: Be sure that before you try the svn check out command, you first
run plink from the command line like this:

plink -i C:\work.ooRexx\path\to\ppkKey\SourceForge-svn.ppk
[email protected]

You will then see something like this:

The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 86:7b:1b:12:85:35:8a:b7:98:b6:d2:97:5e:96:58:1d
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n) y

If you just run the svn check out command, you will get the same
prompt, but there is no user interaction so typing y is ignored.  The
actual svn server will kick you out, but the server's key gets saved
when you run plink from the command line.  I skipped this step knowing
I couldn't actually log in to the svn server, but it is the only way
to get the server's key saved.

--
Mark Miesfeld

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to