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
Message-ID: <3986E43F.A7F6464C@cygnus.com>
Date: Tue, 01 Aug 2000 16:52:47 +0200
From: Corinna Vinschen <vinschen@cygnus.com>
Reply-To: cygwin <cygwin@sources.redhat.com>
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-SMP i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: Stephan Hendl <Stephan.Hendl@lds.brandenburg.de>
CC: cygwin@sources.redhat.com
Subject: Re: sshd and inetd
References: <s98688de.010@pgkvbb2>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Stephan Hendl wrote:
> hendl@lkvbb1:~ > ssh -v hendl0
> [...]
> lkvbb1: Remote: RSA authentication accepted.
> Authentication rejected for uid 1000.
> hendl@lkvbb1:~ >
> ---
> Yesterday I started the sshd from the shell and it worked.

There's a big difference: I assume you have started sshd from
LocalSystem account as service, isn't it?

As I mentioned in the README (did you read the README?) you can either
logon to any user account using password authentication or you can
start sshd under your own user account and then logon using RSA
authentication.

It's impossible to change the user if no password is given!

> hendl@lkvbb1:~ > telnet hendl0
> [...]
> alias: not found
> alias: not found
> \u@\h: \w >

You are expecting bash but it looks as if your /etc/passwd entry
contains /bin/sh as shell.

/bin/sh under Cygwin is a stripped (but fast) version of ash with
almost no features but plain bourne shell ones.

To get a bash as login shell you'll have to change your /etc/passwd
entry accordingly.

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

