[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnubg] CVS over SSH (was: Re: Small memory leak, CVS)
From: |
Holger |
Subject: |
[Bug-gnubg] CVS over SSH (was: Re: Small memory leak, CVS) |
Date: |
Tue, 01 Apr 2003 20:02:12 +0200 |
At 23:29 30.03.03 +0200, I wrote:
>And I have problems getting non-anonymous cvs access to work...
It's working now. For everybody who is curious, here is how to set it up:
* get the WinCVS zip-archive from http://www.cvsgui.org
* extract cvs.exe/cvs95.exe (dependent on your system) and msvcp60.dll to,
say, C:\CVS
(The GUI is actually also worthwhile. But the above suffice for the
command line.)
* get SSH from
ftp://ftp.funet.fi/pub/unix/security/login/ssh/contrib/ssh-1.2.14-win32bin.zip
* extract the contents to, say, C:\SSH
* open a DOS shell and type the following commands:
> cd C:\SSH
> md .ssh
> ssh-keygen -C address@hidden -f C:\SSH\.ssh\identity
When asked for a passphrase and you just hit ENTER, you won't be asked
every time
on CVS connections.
In C:\SSH\.ssh have been created 2 files now: identity (private key) and
identity.pub (public key), and maybe random_seed, too.
* visit https://savannah.gnu.org/account/login.php and log in with your
Savannah account
* go via 'Account Configuraation' to 'Edit Registered Keys'
(https://savannah.gnu.org/account/editsshkeys.php)
* paste the contents from C:\SSH\.ssh\identity.pub into the appropriate
field and klick on OK
(Keep in mind that you'll probably have to wait an hour to be able to log
in with this key.)
* Write a batch file
Here is a working example:
cvs_upd.bat:
rem --- start of file
@cd C:\gnubg
@if not exist gnubg.c goto ERROR
@echo Updating GNUbg...
@set HOME=C:\SSH
@set CVS_RSH=C:\SSH\ssh.exe
@set CVS_ROOT=:ext:address@hidden:/cvsroot/gnubg
C:\CVS\cvs.exe -z9 address@hidden:/cvsroot/gnubg update -P -d
@if ERRORLEVEL 0 goto EXITOK
:ERROR
@echo *** An error occured.
@goto EXIT
:EXITOK
@echo CVS update of gnubg successfully finished.
:EXIT
@echo Exiting batch file.
rem --- end of file
Regards,
Holger
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gnubg] CVS over SSH (was: Re: Small memory leak, CVS),
Holger <=