Update: OpenSSH-2.1.1p4-1 for Cygwin 1.1.3

Matt Barron matt@skyblue.com
Mon Aug 7 14:52:00 GMT 2000


That was exactly it; thanks so much for taking the time to help.

*********** REPLY SEPARATOR  ***********

On 8/7/2000 at 11:47 pm Corinna Vinschen wrote:

>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@sources.redhat.com
>Red Hat, Inc.
> mailto:vinschen@cygnus.com




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list