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

Ulrich Jakobus jakomail at emss.co.za
Fri Dec 7 04:43:34 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 SSH public key authentication, with password authentication
switching to the correct user context works fine. Thanks for the hint,
will look at VanDyke's vshell.

On Thu, 6 Dec 2001 08:45:36 -0800, Terris wrote:

>Are you using SSH password authentication or SSH public key authentication?
>cygwin's openssh server has a bug whereby if you use public key
>authentication, the user is the user's that's running the sshd daemon rather
>than the remote user.  The cygwin folks claim it's due to a problem with NT,
>(funny how that's always the fall-back position for programmers)
>but it's actually a problem with their understanding of NT.  They need to
>look at the CVSNT pserver code.
>If you really have to use public key authentication, use
>VanDyke's vshell.  http://vandyke.com
>"Ulrich Jakobus" <jakomail at emss.co.za> wrote in message
>news:20011206062305.84F06D3EF at mail.emss.co.za...
>> Hi,
>> 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?
>> Thanks,
>> Ulrich
>> _______________________________________________
>> 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
>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

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