Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Fri, 30 Mar 2001 10:32:20 +0200
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin <cygwin@cygwin.com>
Subject: Re: cygwin: can't get openssh working via inetd
Message-ID: <20010330103220.O16622@cygbert.vinschen.de>
Mail-Followup-To: cygwin <cygwin@cygwin.com>
References: <F59TkUD5euwdUTaGmvS00003866@hotmail.com> <3AC43057.9010500@bigpond.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3AC43057.9010500@bigpond.com>; from brendan.simon@bigpond.com on Fri, Mar 30, 2001 at 05:05:59PM +1000

On Fri, Mar 30, 2001 at 05:05:59PM +1000, Brendan J Simon wrote:
> Thanks Karl,
> 
> The new cygwin1.dll fixed the ssh problem I was seeing.  I can now login 
> in successfully but I have to enter my password everytime.  Obviously 
> the sshd is not looking into my home directory (which is on a mapped 
> network drive) for my .ssh/ directory.  How do I get around this ???

You can't. When using sshd under inetd (WHICH IS NOT RECOMMENDED)
sshd starts up under the same user account as inetd, typically
the "LocalSystem" account. This LocalSystem account doesn't have
access to network drives. Even if that would be possible you
would have to give your password to be able to change the user
context.

I suggest starting sshd under your own account. Don't use inetd
for that. Read /usr/doc/openssh-2.5.2p2.README

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

