[Python-Dev] CVS and SSH under windows.

David Ascher DavidA@ActiveState.com
Wed, 21 Jun 2000 10:25:07 -0700


> First, get the latest WinCVS.

	http://www.wincvs.org/download.html

> I use the standard SSH Version 1.2.14 binary set.  I cant recall the URL,

There's a version at:

      ftp://ftp.cs.hut.fi/pub/ssh/contrib/ssh-1.2.14-win32bin.zip

BUT...

> You then need to make a “key” file - I cant recall the exact process, but
> it is pretty simple.  This is creating the identify file you specify to
> WinCVS, as well as the public key you upload to source-force.

	C:\WinCVS>ssh-keygen

I always get a 'gethostname: no such file or directory' so I had to create
the key on Linux (as is mentioned in the page
http://bmrc.berkeley.edu/people/chaffee/winntutil.html).

Maybe you have a better binary for ssh?

> NOTE - from memory, you MUST have a HOME env var set, and you MUST have a
> “.ssh” directory under your home.  Otherwise you get cryptic errors from
> SSH that give no clue that this is the problem.
>
> After uploading the public key to source forge, you are nearly set.

How do you do that?

> The
> last step is convinving CVS that you want to use this new SSH setting, and
> not the setting CVS so kindly persists in its “CVS\Root” files.  The only
> way I found to do this was to either edit the Root files manually, or
> remove the directories locally and force CVS to re-create them
> (and thereby
> re-pull everything - I assume you have ADSL in that hotel room :-)
> Alternatively, dig up that CVS script posted to py-dev recently and change
> it - personally, I never trusted it :-)
>
> All my root files look like:
> :ext:mhammond@cvs.python.sourceforge.net:/cvsroot/python
>
> Yours almost certainly will be setup for anon access, not using ssh.
>
> Hope that makes sense.  Im happy to chase anything else up I can
> for you...
>
> Mark.
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev@python.org
> http://www.python.org/mailman/listinfo/python-dev
>