Doug Cutting wrote:
> 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:dmitrys@cvs.apache.org:/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
Thanks very much, Doug. I'll give this a shot tonight. This is basically
what I tried to do, except that I used rsa key instead of dsa, did not
know about having the public key file unreadable to others, placed it
~/.ssh/authorized_keys directory (is authorized_keys2 in your example a
plain file?), and didn't use :ext: in the -d option to cvs. I guess
there's planty here that would have made it not work.:)
Dmitry.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>
>
|