X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.org>
Subject:  Re: password authentication fails in cygwin openssh windows xp pro
Date:  Fri, 25 May 2007 10:59:36 -0500
Lines: 46
Message-ID: <f3715b$5ou$1@sea.gmane.org>
References:  <4655A077.60407@gmail.com> <Pine.LNX.4.58.0705241028510.18442@dargo.trilug.org> <4655A398.80504@u.washington.edu> <f354ln$t9h$1@sea.gmane.org> <4656341F.2000603@u.washington.edu> <f35fgh$6vt$1@sea.gmane.org> <46565B7E.906@u.washington.edu> <f35mvj$nj3$1@sea.gmane.org> <46566DB0.8090106@u.washington.edu> <f35v01$aev$1@sea.gmane.org> <4656EF3B.1030504@u.washington.edu>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  quoted-printable
User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)
In-Reply-To: <4656EF3B.1030504@u.washington.edu>
OpenPGP: url=hkp://wwwkeys.pgp.net
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Dan Miller wrote:

> Path statement appears fine. I think I'm missing something here. Isn't
> it wierd that it is looking in /home/dan for keys and identities when
> I'm logging in as the new user "fshd"?

No, that is the way ssh works: you are user "dan" trying to login as user "=
fshd"
to somewhere, so it uses (local) dan keys and (remote) fshd authorized_keys.

> I ran mkpasswd and mkgroup to
> /etc/passwd and /etc/group and when I ssh localhost -l fshd it seems to
> login and authenticate the password but then closes immediately.

That's what the log showed.

> I'm wondering if it is looking for the .bash files and not finding them
> ...ie file not found....and then closing. I copied the .bash files from
> skel but that didn't solve the problem.

No, that's no it.

> is this the problem?
> debug3: channel 0: close_fds r -1 w -1 e 6 c -1
> debug3: fd 1 is not O_NONBLOCK
> debug3: fd 2 is not O_NONBLOCK
> Connection to localhost closed.

No.

> I just want to be able to login to this server as user fshd. fshd is
> currently a user in windows, and member of the "users" group

And it is almost working, it does log in, what happens next is what fails. =
 That
means it can't execute the shell, did you change permissions? remember when=
 you
said you made /bin/bash 0700 (which doesn't allow execution by any other us=
er
different from the one that installed Cygwin)?
--=20
Ren=E9 Berber


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

