delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/07/17:47:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <398F2E5E.9824E937@vinschen.de>
Date: Mon, 07 Aug 2000 23:47:10 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygwin <cygwin AT sources DOT redhat DOT com>
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-SMP i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: Matt Barron <matt AT skyblue DOT com>
CC: cygwin <cygwin AT sources DOT redhat DOT com>
Subject: Re: Update: OpenSSH-2.1.1p4-1 for Cygwin 1.1.3
References: <39889087 DOT CE407787 AT cygnus DOT com>
<200008032216110792 DOT 00525FBE AT grapevine DOT skyblue DOT com>
<398A68F5 DOT 50288F53 AT cygnus DOT com> <200008071626350786 DOT 01956ECE AT 127 DOT 0 DOT 0 DOT 1>

Matt Barron wrote:
> 
> Shown below is a verbose ssh session which shows 2.1.1p4-2 using
> '/.ssh/config' instead of '~/.ssh/config'. If I can provide anything
> else to help you debug this, let me know.

After double checking the source code I can think of only one chance:
Your /etc/passwd file doesn't contain the correct home dir.

Reasoning:

- OpenSSH _always_ uses pw_dir from the users /etc/passwd file,
  _never_ the environment variable $HOME.

- Your environment contains the following values:
  $HOMEDRIVE=C:
  $HOMEDIR=\
  This are the values which are a typical sign for having
  no home directory set in NT's SAM.

- The NT SAM user entry is used by mkpasswd to create your
  pw_dir entry as well. An empty hoemdir in the SAM results
  in an empty pw_dir entry in /etc/passwd.

- sprintf("%s/.ssh/config", pw->pw_dir) results in 
  "/.ssh/config" then.

Hope, that helps,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                        mailto:cygwin AT sources DOT redhat DOT com
Red Hat, Inc.
mailto:vinschen AT cygnus DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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