[Cvsnt] Using CVS_RSH=ssh gives wrong user name "SYSTEM"

Ulrich Jakobus jakomail at emss.co.za
Thu Dec 6 06:24:36 GMT 2001

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


I am using CVSNT Build 41 (the latest stable) as
CVS server on Win2k with several CVS clients on Linux/HP/Sun
and other Windows machines.

The protocal is :ext: with CVS_RSH=ssh, using sshd from Cygwin
as SSH Server on the Win2k box.

Everything works fine, except that all user names in the CVS
log files appear to be SYSTEM instead of the real username,
i.e. I get
  date	2001.;	author SYSTEM;	state Exp;
instead of
  date	2001.;	author jakobus;	state Exp;

sshd has been installed as service under the system account, but
of course e.g. "ssh cvs_server whoami" correctly reports "jakobus"
and not "SYSTEM", and also I see that CVS calls the external
program ssh with the command line argument "-l jakobus". Other
attempts to debug SSH (running the daemon in debug mode with
options -ddd or calling ssh with the -v flag) clearly show that
the ssh authentication works correctly. So I assume that this is
a problem of CVSNT not getting the correct user name.

Is anybody else observing this? Any idea what the reason might be?
Any workaround that I might use?



Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs

More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook