Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: "Prentis Brooks" <prentis@aol.net>
To: "Jason Tishler" <Jason.Tishler@dothill.com>
Cc: "cygwin" <cygwin@sourceware.cygnus.com>
Subject: RE: FW: Can not config sshd
Date: Fri, 26 May 2000 09:07:47 -0400
Message-ID: <NEBBLEPLMLJEEFHAGMDMOECGCAAA.prentis@aol.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <392E7480.4CF744B1@dothill.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Importance: Normal

I have not defined this user's home dir in the environment, only in
/etc/passwd.... if there is no home dir defined in ENV, does it default to
//?

-----Original Message-----
From: Jason Tishler [mailto:Jason.Tishler@dothill.com]
Sent: Friday, May 26, 2000 8:57 AM
To: Prentis Brooks
Cc: cygwin
Subject: Re: FW: Can not config sshd


Prentis,

Prentis Brooks wrote:
> What I have found is that since this user has his home dir as / when
openssh
> tries to create the /.ssh directory it does so with the following
notation:
> //.ssh  which fails.

I'm not sure whether or not this is relevant but I found a HOME
directory anomaly in 1.1.1 that did not exist in 1.1.0 and earlier.
This may be related to your problem or may be not...

Given that I mount H: as /home/jt, if I set HOME=H:\ via the control
panel, then within Cygwin (eg, bash) my HOME becomes /home/jt/ (note
the extra slash at the end).  If I now set HOME=H: (note no backslash),
then within Cygwin my HOME becomes /home/jt.

In your case since HOME is /, may be due to the above problem you are
getting an extra slash too.  Hence, your HOME within Cygwin is becoming
//.  The // notation is interpreted by Cygwin as a network share (or a
drive letter).  So for example, when openssh tries to access //.ssh,
it can't find a share called ".ssh" and fails.

Hope the above helps and sorry if it is just a distraction to the real
problem.

Jason

--
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com


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

