Dmitry Serebrennikov wrote:
Sounds good. I tried to get some progress on committing last night, but I got bogged down in trying to figuire out ssh. I was just trying to avoid having to type in my password with every cvs command. It seems that ssh is the way to do that, but the one try I had given it last night didn't work.

I use cygwin on Win32 with success.


On your Windows box you need to:

1. Install cygwin. Be sure to be sure to select the cvs and openssh packages when you install, in the "Devel" and "Net" categories, respectively.

2. Set some Win32 environment variables. I do this in System Properties > Advanced > Environment Variables, although you can also do it in c:\autoexec.bat, or probably in other places.

Set CVS_RSH = ssh.

If you want to use CVS from tools other than a cygwin shell (e.g., Emacs) then also put c:\cygwin\usr\bin on PATH.

3. From a cygwin shell, use 'ssh-keygen -t dsa' to generate a key on your Win32 box. Leave the password empty if you want to not have to type one everytime you use CVS.

4. Append the contents of ~/.ssh/id_dsa.pub on your Win32 box to cvs.apache.org:~/.ssh/authorized_keys2. Make sure this file is not readable by others, as otherwise ssh will refuse to use it.

5. Try "cvs -d :ext:[EMAIL PROTECTED]:/home/cvs co jakarta-lucene".

You can also setup Putty to use your cygwin-generated private key.

I hope I got all that right!

Doug


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to