Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: "Prentis Brooks" To: "cygwin" Subject: RE: FW: Can not config sshd Date: Fri, 26 May 2000 09:17:52 -0400 Message-ID: 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: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Found it... ok all, tell me what you all think about this and how to handle it: This user needs to have his home directory pointing at /, however, as Jason pointed out, if I set the user's home dir to /, when apps look at it, they add a second /, creating // which is interpreted as a network share. This breaks everything. What I did was set the user's home to /c/cygwin (which is where / is mounted), and the problems went away, I have RSA and shost authentication working. Now, I guess my next question would be, is this prefered behavior or is it being corrected, since this looks like a cygwin 1.1.1 issue? Thanks for all the help!!! -----Original Message----- From: cygwin-owner AT sourceware DOT cygnus DOT com [mailto:cygwin-owner AT sourceware DOT cygnus DOT com]On Behalf Of Prentis Brooks Sent: Friday, May 26, 2000 9:08 AM To: Jason Tishler Cc: cygwin Subject: RE: FW: Can not config sshd 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 DOT Tishler AT dothill DOT 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 DOT Tishler AT dothill DOT com Hazlet, NJ 07730 USA WWW: http://www.dothill.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com