delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/26/12:08:10

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <46FA83C0.1030401@cygwin.com>
Date: Wed, 26 Sep 2007 12:07:28 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070505 Remi/2.0.0.0-3.fc4.remi Thunderbird/2.0.0.0 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: OpenSSH and user environment: Maybe not initialized correctly
References: <46F9038D DOT 9020802 AT gmx DOT net> <46F93BA7 DOT 2040803 AT cygwin DOT com> <46F9FF07 DOT 1010203 AT gmx DOT net>
In-Reply-To: <46F9FF07.1010203@gmx.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Frank wrote:
> I try to send the three cygcheck outputs unzipped with this mail.
> 
> On    AMD64       sshd is running as "sshd_server"
>      SMITHFIELD  sshd is running as "SYSTEM"
> 
> on both machines I use public key authentication.
> And for my application I shall stick to public key authentication.
> 
> Does this clarify and can you now give more information or do you
> still need any additional thigs/settings to tell?

No, I don't see allot that clarifies things for me here, but thanks for
sending it. :-)  I do see that FI-WIN and AMD64 don't have '/bin/sh' but
I don't think that's significant in your case (though you should reinstall
the 'bash' package to fix this).

I'm actually surprised that you get AMD to report your user name with
pubkey authentication.  I'm not aware of anything in the current Cygwin
release that would allow one to authenticate with Windows using pubkey
authentication, which is why I suggested password authentication as an
alternative (I know it's hardly the same thing).  You might find
comparing debugging output from the server side from both machines on
login to be enlightening.  Other alternatives I can think of is
authenticating "illenseer" (via 'net use' or some other mechanism of
your choosing) when you connect with 'ssh' or moving to a snapshot to
take advantages of improvements there.  You can also try forcing
'ssh-host-config' to create the 'sshd_server' on your XP box and
use that user instead to run 'ssd' there.  Maybe whatever magic you're
experiencing on AMD64 will transfer to SMITHFIELD.

Please let us know if you find something here that explains the different
behavior you see on these two machines.

BTW, I am assuming that you're using 'whoami' from Windows on both of these
machines.  If not, then we know why you see the difference reported by these
machines. ;-)


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019