delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/01/11:16:29

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3986E43F.A7F6464C@cygnus.com>
Date: Tue, 01 Aug 2000 16:52:47 +0200
From: Corinna Vinschen <vinschen AT cygnus DOT com>
Reply-To: cygwin <cygwin AT sources DOT redhat DOT 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 DOT Hendl AT lds DOT brandenburg DOT de>
CC: cygwin AT sources DOT redhat DOT com
Subject: Re: sshd and inetd
References: <s98688de DOT 010 AT pgkvbb2>

Stephan Hendl wrote:
> hendl AT lkvbb1:~ > ssh -v hendl0
> [...]
> lkvbb1: Remote: RSA authentication accepted.
> Authentication rejected for uid 1000.
> hendl AT 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 AT 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 AT sources DOT redhat DOT com
Red Hat, Inc.
mailto:vinschen AT cygnus DOT com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019